setXHRBreakpoint method

Future<void> setXHRBreakpoint(
  1. String url
)

Sets breakpoint on XMLHttpRequest. url Resource URL substring. All XHRs having this substring in the URL will get stopped upon.

Implementation

Future<void> setXHRBreakpoint(String url) async {
  await _client.send('DOMDebugger.setXHRBreakpoint', {
    'url': url,
  });
}