Runtime.setAsyncCallStackDepthEnables or disables async call stacks tracking.
| Name | Type | Description |
|---|---|---|
maxDepth | integer | Maximum depth of async call stacks. Setting to `0` will effectively disable collecting async call stacks (default). |
{
"id": 1,
"method": "Runtime.setAsyncCallStackDepth",
"params": {
"maxDepth": 1
}
}
{
"id": 1,
"result": {}
}
const result = await send('Runtime.setAsyncCallStackDepth', {"maxDepth": 1});
console.log(result);