debugger.pause_on_exceptions
Configure the browser debugger to pause on no exceptions, only uncaught exceptions, or all exceptions, so you can control when execution stops for debugging.
Instructions
Pause on no exceptions, only uncaught ones, or all of them.
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": {
"state": "<state>"
},
"name": "debugger.pause_on_exceptions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | ||
| target_id | No | Target handle (tgt_*). Omit for the active page. | |
| browser_id | No | Browser handle (br_*). Omit to use the only running browser, or auto-launch one. |