update_breakpoint
Modify breakpoint settings in Xdebug debugging sessions to enable, disable, or adjust hit conditions for PHP application debugging.
Instructions
Update a breakpoint (enable/disable or change hit conditions). Works for both active session and pending breakpoints.
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": {
"breakpoint_id": "<breakpoint_id>"
},
"name": "update_breakpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | Enable or disable the breakpoint | |
| hit_value | No | New hit count value | |
| session_id | No | Session ID | |
| breakpoint_id | Yes | The breakpoint ID to update | |
| hit_condition | No | New hit condition |