debug_attach
Attach to a running process by PID to begin live debugging, returning a persistent session ID for subsequent analysis commands.
Instructions
Attach the radare2 debugger to a running process by PID and return a persistent session ID.
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": {
"pid": "<pid>"
},
"name": "debug_attach"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | Process ID to attach to |