← Back to Debugger domain

Debugger.resume

Resumes JavaScript execution.

Domain: Debugger stable

Parameters

NameTypeDescription
terminateOnResume (optional)booleanSet to true to terminate execution upon resuming execution. In contrast to Runtime.terminateExecution, this will allows to execute further JavaScript (i.e. via evaluation) until execution of the paused code is actually resumed, at which point termination is triggered. If execution is currently not paused, this parameter has no effect.

Example Request

{
  "id": 1,
  "method": "Debugger.resume"
}

Example Response

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

Usage in Node.js

const result = await send('Debugger.resume');
console.log(result);