Debug Session Status
debug_statusInspects debugger lifecycle state and recent DAP events without changing execution to determine if a session is initialized, running, stopped, exited, or failed before choosing another debug tool.
Instructions
Inspect debugger lifecycle state, the selected stop, recent DAP events, and bounded adapter stderr without changing target execution. Use this to determine whether a session is initialized, running, stopped, postmortem, exited, or failed before choosing another debug tool; it is diagnostic only and does not resume, launch, attach, or terminate the debuggee.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "debug_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adapterId | No | ||
| adapterPid | No | ||
| configured | Yes | ||
| initialized | Yes | ||
| capabilities | No | ||
| recentEvents | Yes | ||
| activeRequest | No | ||
| adapterRunning | Yes | ||
| recentAdapterStderr | Yes |