cdp_exception_breakpoint
Set the debugger to pause on exceptions. With durationMs: records exceptions for that period then auto-disables. Without durationMs: toggles the breakpoint state (call with state=“none” to disable).
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
state | `enum: none | uncaught | all` | No | 'uncaught' |
durationMs | number | No | min: 1000, max: 30000, integer | Auto-capture duration in ms. If set, records exceptions then disables. |
cdp_exception_breakpoint()