debug_attach
Attach to an already-listening debugpy adapter on localhost or a specified host to debug a running Python process with configurable port, timeout, and path mappings.
Instructions
Attach to an already-listening debugpy adapter on localhost or another explicit host.
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": {
"port": "<port>"
},
"name": "debug_attach"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | 127.0.0.1 | |
| port | Yes | ||
| timeout | No | ||
| path_mappings | No |