← Back to Page domain

Page.waitForDebugger

Pauses page execution. Can be resumed using generic Runtime.runIfWaitingForDebugger.

Domain: Page experimental

Example Request

{
  "id": 1,
  "method": "Page.waitForDebugger"
}

Example Response

{
  "id": 1,
  "result": {}
}

Usage in Node.js

const result = await send('Page.waitForDebugger');
console.log(result);