set_exception_breakpoint
Set breakpoints to pause PHP debugging when specific exceptions occur, enabling targeted error investigation during development.
Instructions
Set a breakpoint that triggers when a specific exception is thrown. Can be set before a debug session starts.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_exception_breakpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exception | No | Exception class name to break on (use '*' for all exceptions, or specific like 'RuntimeException') | * |
| session_id | No | Session ID |