gecko-dev/dom/workers/test/WorkerDebugger_suspended_debugger.js

7 lines
122 B
JavaScript

"use strict";
var dbg = new Debugger(global);
dbg.onDebuggerStatement = function (frame) {
postMessage("debugger");
};