Skip to content

Allow attaching/detaching from the debug targets #79314

@weinand

Description

@weinand

This request asks for a lightweight way of attaching/detaching the debugger UI to/from a debug target (in contrast to a heavyweight launch/attach that starts and ends a debug session).

If the debugger UI is detached (in the lightweight way), the debug session will continue to run and the debugger is still in control and can terminate the debuggee, but the debugger will not stop on breakpoints or exceptions because no debugging takes place.

In theory this could be implemented by means of DAP's "attach" and "disconnect" request: a DA is started and attaches to the debug target via the attach request. "Lightweight" detaching disconnects from the debug target via the disconnect request, but the debug adapter continues to run.

@pavelfeldman does this correctly reflect the intent of your item?

Metadata

Metadata

Assignees

Labels

*out-of-scopePosted issue is not in scope of VS CodedebugDebug viewlet, configurations, breakpoints, adapter issuesfeature-requestRequest for new features or functionality

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions