Skip to content

Commit f824b2e

Browse files
author
Benjamin Pasero
committed
env variables are not passed to extension host in debug mode (fixes microsoft#22233)
1 parent 963783b commit f824b2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/code/electron-main/windows.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ export class WindowsManager implements IWindowsMainService {
709709
}
710710

711711
// Open it
712-
this.open({ context: openConfig.context, cli: openConfig.cli, forceNewWindow: true, forceEmpty: openConfig.cli._.length === 0 });
712+
this.open({ context: openConfig.context, cli: openConfig.cli, forceNewWindow: true, forceEmpty: openConfig.cli._.length === 0, userEnv: openConfig.userEnv });
713713
}
714714

715715
private toConfiguration(config: IOpenConfiguration, workspacePath?: string, filesToOpen?: IPath[], filesToCreate?: IPath[], filesToDiff?: IPath[]): IWindowConfiguration {

0 commit comments

Comments
 (0)