Skip to content

Don't automatically forward debug ports in auto attach #107243

@connor4312

Description

@connor4312

js-debug's auto attach "smart" mode causes a process to enter auto attach, without explicit flags. When entering debug mode, we let the OS choose a random free port (0) since we don't need any specific port.

I noticed when working in a remote container that this caused a bunch of ports to automatically be forwarded in the remote.

Unfortunately this message is printed by Node and I cannot always stop it from printing.

Is there any way we could exclude the pattern Debugger listening on ... from automatic forwarding?

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugcandidateIssue identified as probable candidate for fixing in the next releaseremote-explorerRemote explorer view

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions