Skip to content

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).

NameTypeRequiredDefaultConstraintsDescription
state`enum: noneuncaughtall`No'uncaught'
durationMsnumberNomin: 1000, max: 30000, integerAuto-capture duration in ms. If set, records exceptions then disables.
cdp_exception_breakpoint()