Disconnect Debugger
debug_disconnectEnd an active DAP session and stop its adapter process when debugging is complete or needs reset. Set terminateDebuggee to false to detach and preserve the target process.
Instructions
End the active DAP session and stop its local adapter process. Use this when debugging is finished or the session must be reset; do not call it when more runtime evidence is still needed. With terminateDebuggee=true it may also terminate a live target process, so this operation can destroy the current runtime state and cannot be treated as read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| terminateDebuggee | No | Whether the debugger should terminate the live debuggee while disconnecting; set false to request detach/preserve behavior when the adapter supports it. |