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 | unknown | No | 'uncaught' | Exception pause mode: none (off), uncaught (default), all | |
durationMs | unknown | No | min: 1000, max: 30000, integer | Auto-capture duration in ms. If set, records exceptions then disables. |
cdp_exception_breakpoint()