debug
Control debugging sessions via the Debug Adapter Protocol: launch, attach, set breakpoints, step, inspect variables, evaluate expressions, and manage memory.
Instructions
DAP (Debug Adapter Protocol) control surface. Pass one of 31 actions plus their camelCase parameters; returns a JSON payload (structuredContent mirrors it). Sessions are launched via launch/attach and targeted by sessionId (default: focused session).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| pid | No | ||
| args | No | ||
| data | No | ||
| file | No | ||
| host | No | ||
| line | No | ||
| name | No | ||
| port | No | ||
| tail | No | ||
| count | No | ||
| start | No | ||
| action | Yes | ||
| dataId | No | ||
| levels | No | ||
| offset | No | ||
| adapter | No | ||
| command | No | ||
| context | No | ||
| frameId | No | ||
| program | No | ||
| timeout | No | ||
| threadId | No | ||
| arguments | No | ||
| condition | No | ||
| sessionId | No | ||
| accessType | No | ||
| expression | No | ||
| moduleCount | No | ||
| startModule | No | ||
| dapArguments | No | ||
| hitCondition | No | ||
| resolveSymbols | No | ||
| memoryReference | No | ||
| instructionCount | No | ||
| instructionOffset | No | ||
| variablesReference | No | ||
| instructionReference | No |