2022-03-22 21:07:14 +01:00
|
|
|
Propagate the log level to the client
|
|
|
|
|
|
|
|
This can be tested by using `--log trace`. You should see plenty of debug and
|
|
|
|
trace logs in the console.
|
|
|
|
|
|
|
|
Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
|
|
|
|
===================================================================
|
|
|
|
--- code-server.orig/lib/vscode/src/vs/server/node/webClientServer.ts
|
|
|
|
+++ code-server/lib/vscode/src/vs/server/node/webClientServer.ts
|
2022-08-17 03:26:19 +02:00
|
|
|
@@ -304,7 +304,10 @@ export class WebClientServer {
|
2022-06-21 23:51:46 +02:00
|
|
|
remoteAuthority,
|
|
|
|
webviewEndpoint: vscodeBase + this._staticRoute + '/out/vs/workbench/contrib/webview/browser/pre',
|
|
|
|
_wrapWebWorkerExtHostInIframe,
|
|
|
|
- developmentOptions: { enableSmokeTestDriver: this._environmentService.args['enable-smoke-test-driver'] ? true : undefined },
|
|
|
|
+ developmentOptions: {
|
|
|
|
+ enableSmokeTestDriver: this._environmentService.args['enable-smoke-test-driver'] ? true : undefined,
|
|
|
|
+ logLevel: this._logService.getLevel(),
|
|
|
|
+ },
|
|
|
|
settingsSyncOptions: !this._environmentService.isBuilt && this._environmentService.args['enable-sync'] ? { enabled: true } : undefined,
|
|
|
|
enableWorkspaceTrust: !this._environmentService.args['disable-workspace-trust'],
|
|
|
|
folderUri: resolveWorkspaceURI(this._environmentService.args['default-folder']),
|