Disconnect Debugger
debug_disconnectEnd the active DAP session and stop its local adapter process when debugging is finished or a reset is needed; optionally terminate the live debuggee.
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 |
|---|---|---|---|
| sessionId | No | Optional DAP session ID. Omit to use the backward-compatible default session. | |
| terminateDebuggee | No | Whether the debugger should terminate the live debuggee while disconnecting; set false to request detach/preserve behavior when the adapter supports it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| disconnected | Yes |