start_debugging
Start a debugging session for a script file, executing until a breakpoint or completion. Requires a session ID and script path.
Instructions
Start debugging a script file. The program will run until it hits a breakpoint or completes.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sessionId": "<sessionId>",
"scriptPath": "<scriptPath>"
},
"name": "start_debugging"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory for script execution | |
| env | No | Environment variables | |
| args | No | Command line arguments for the script | |
| sessionId | Yes | Debug session ID from create_debug_session | |
| scriptPath | Yes | Absolute path to the script file to debug | |
| stopOnEntry | No | Pause at the first line of code |