← Back to Network domain

Network.setAttachDebugStack

Specifies whether to attach a page script stack id in requests

Domain: Network experimental

Parameters

NameTypeDescription
enabledbooleanWhether to attach a page script stack for debugging purpose.

Example Request

{
  "id": 1,
  "method": "Network.setAttachDebugStack",
  "params": {
    "enabled": true
  }
}

Example Response

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

Usage in Node.js

const result = await send('Network.setAttachDebugStack', {"enabled": true});
console.log(result);