← Back to Debugger domain

Debugger.setBlackboxExecutionContexts

Replace previous blackbox execution contexts with passed ones. Forces backend to skip stepping/pausing in scripts in these execution contexts. VM will try to leave blackboxed script by performing 'step in' several times, finally resorting to 'step out' if unsuccessful.

Domain: Debugger experimental

Parameters

NameTypeDescription
uniqueIdsarrayArray of execution context unique ids for the debugger to ignore.

Example Request

{
  "id": 1,
  "method": "Debugger.setBlackboxExecutionContexts",
  "params": {
    "uniqueIds": []
  }
}

Example Response

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

Usage in Node.js

const result = await send('Debugger.setBlackboxExecutionContexts', {"uniqueIds": []});
console.log(result);