gecko-dev/dom/workers/test/WorkerDebugger.initialize_d...

7 строки
137 B
JavaScript

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