gecko-dev/dom/workers/test/WorkerDebugger.initialize_debugger.js

7 lines
137 B
JavaScript

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