Runtime.terminateExecutionTerminate current or next JavaScript execution. Will cancel the termination when the outer-most script execution ends.
{
"id": 1,
"method": "Runtime.terminateExecution"
}
{
"id": 1,
"result": {}
}
const result = await send('Runtime.terminateExecution');
console.log(result);