debug_launch
Launch a Python program under debugpy and pause before user code runs so breakpoints can be configured before execution.
Instructions
Launch a Python program under debugpy and pause before user code until breakpoints are configured.
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": {
"program": "<program>"
},
"name": "debug_launch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory for the target program. | |
| env | No | Environment variables to add to the target process. | |
| args | No | ||
| python | No | Python executable to use for debugpy and the target. | |
| program | Yes | Path to the Python file to launch. | |
| timeout | No | ||
| stop_on_entry | No |