mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 03:54:24 +01:00
debug: avoid listening on all interfaces when debugging a remote ext host
Fixes #142541
This commit is contained in:
@@ -186,7 +186,7 @@ export class ExtensionHostConnection {
|
||||
try {
|
||||
let execArgv: string[] = [];
|
||||
if (startParams.port && !(<any>process).pkg) {
|
||||
execArgv = [`--inspect${startParams.break ? '-brk' : ''}=0.0.0.0:${startParams.port}`];
|
||||
execArgv = [`--inspect${startParams.break ? '-brk' : ''}=${startParams.port}`];
|
||||
}
|
||||
|
||||
const env = await buildUserEnvironment(startParams.env, startParams.language, !!startParams.debugId, this._environmentService, this._logService);
|
||||
|
||||
Reference in New Issue
Block a user