DOMDebugger

DOM debugging allows setting breakpoints on particular DOM operations and events. JavaScript execution will stop on these operations as if there was a regular breakpoint set.

Methods setInstrumentationBreakpoint, removeInstrumentationBreakpoint

Methods

setInstrumentationBreakpoint

Experimental. Sets a breakpoint on a particular native event.

Parameters
eventName string Instrumentation name to stop on. Valid values: 'scriptFirstStatement'.


removeInstrumentationBreakpoint

Experimental. Removes a breakpoint on a particular native event.

Parameters
eventName string Instrumentation name to stop on. Valid values: 'scriptFirstStatement'.