← Back to Runtime domain

Runtime.enable

Enables reporting of execution contexts creation by means of `executionContextCreated` event. When the reporting gets enabled the event will be sent immediately for each existing execution context.

Domain: Runtime stable

Example Request

{
  "id": 1,
  "method": "Runtime.enable"
}

Example Response

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

Usage in Node.js

const result = await send('Runtime.enable');
console.log(result);