Allow attaching/detaching from the debug targets #79314
Labels
debug
Debug viewlet, configurations, breakpoints, adapter issues
feature-request
Request for new features or functionality
*out-of-scope
Posted issue is not in scope of VS Code
Milestone
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?
The text was updated successfully, but these errors were encountered: