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