setDOMBreakpoint method

Future<void> setDOMBreakpoint(
  1. NodeId nodeId,
  2. DOMBreakpointType type
)

Sets breakpoint on particular operation with DOM. nodeId Identifier of the node to set breakpoint on. type Type of the operation to stop upon.

Implementation

Future<void> setDOMBreakpoint(
    dom.NodeId nodeId, DOMBreakpointType type) async {
  await _client.send('DOMDebugger.setDOMBreakpoint', {
    'nodeId': nodeId,
    'type': type,
  });
}