Skip to content

Update launch.json handling to support "listen" and "connect" #10437

@int19h

Description

@int19h

As described here:
#10379 (comment)

This affects the debug adapter factory. Currently, it looks at "pid" to determine whether an "attach" configuration should spawn the adapter, or connect to it using the specified "host" and "port". The first change needed here is to also spawn the debug adapter if it sees "listen". Secondly, when connecting using a socket, it needs to look for "host" and "port" inside "connect" first, and only then fall back to top-level properties.

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionality

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions