set_call_breakpoint
Set a breakpoint that triggers when a specific function is called, enabling debugging of PHP applications by pausing execution at function entry points.
Instructions
Set a breakpoint that triggers when a specific function is called. Can be set before a debug session starts.
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": {
"function_name": "<function_name>"
},
"name": "set_call_breakpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No | Session ID | |
| function_name | Yes | Function name to break on (e.g., 'myFunction' or 'MyClass::myMethod') |