Archived
1
0

Update env vars for extension host

They now are all prepended with VSCODE_. Also added the parent pid to
ensure it shuts down when the parent dies.
This commit is contained in:
Asher 2021-03-02 15:59:47 -06:00
parent ba4448e72d
commit 150138e04b
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A

View File

@ -136,14 +136,15 @@ export class ExtensionHostConnection extends Connection {
{
env: {
...process.env,
AMD_ENTRYPOINT: 'vs/workbench/services/extensions/node/extensionHostProcess',
PIPE_LOGGING: 'true',
VERBOSE_LOGGING: 'true',
VSCODE_AMD_ENTRYPOINT: 'vs/workbench/services/extensions/node/extensionHostProcess',
VSCODE_PIPE_LOGGING: 'true',
VSCODE_VERBOSE_LOGGING: 'true',
VSCODE_EXTHOST_WILL_SEND_SOCKET: 'true',
VSCODE_HANDLES_UNCAUGHT_ERRORS: 'true',
VSCODE_LOG_STACK: 'false',
VSCODE_LOG_LEVEL: process.env.LOG_LEVEL,
VSCODE_NLS_CONFIG: JSON.stringify(config),
VSCODE_PARENT_PID: String(process.pid),
},
silent: true,
},