Parameters
integer
Target tab id from browser_tabs, which lists tabs across all windows. Defaults to the agent’s most recently opened usable tab, or the only usable tab. Otherwise select a listed tabId.
enum
required
One of:
list, set, remove, enable, disable, exceptions, dom, event, xhr, pause, resume, stepInto, stepOver, stepOut, continueTo, stack, scope, variables, evaluate, watch, setVariable, blackbox, breakOnAsync.string
Script URL (exact or substring) for set/continueTo
string
string
Original source path (source-mapped) for set/continueTo
integer
1-based
integer
string
string
Logpoint: log this expression instead of pausing
string
boolean
enum
For exceptions One of:
none, uncaught, all.string
Element ref from browser_snapshot, e.g. “e12”
string
enum
One of:
subtree-modified, attribute-modified, node-removed.string
string
Optional event target interface, e.g. “xmlhttprequest”, “window”
string
For xhr breakpoints
boolean
For dom/event/xhr: remove instead of set
integer
integer
string
Variable name for setVariable
string
string[]
string[]
Blackbox regexes, e.g. [“node_modules”, “vendor\.js”]
integer
Range: 0 to 3.
integer
integer
For breakOnAsync: async stack depth (default 8)
Example
Conditional breakpoint in the original source
Break on uncaught exceptions
Break when a request URL contains /checkout
While paused: stack, then step
