Skip to content

Commit

Permalink
debug: avoid listening on all interfaces when debugging a remote ext …
Browse files Browse the repository at this point in the history
…host

Fixes #142541
  • Loading branch information
connor4312 committed Feb 8, 2022
1 parent bd74418 commit 91f7694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/server/node/extensionHostConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

1 comment on commit 91f7694

@St-jean
Copy link

@St-jean St-jean commented on 91f7694 Feb 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My.. Appologies
St-Jean

Please sign in to comment.