DOMDebugger.setXHRBreakpointSets breakpoint on XMLHttpRequest.
| Name | Type | Description |
|---|---|---|
url | string | Resource URL substring. All XHRs having this substring in the URL will get stopped upon. |
{
"id": 1,
"method": "DOMDebugger.setXHRBreakpoint",
"params": {
"url": "https://example.com"
}
}
{
"id": 1,
"result": {}
}
const result = await send('DOMDebugger.setXHRBreakpoint', {"url": "https://example.com"});
console.log(result);