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

7 строки
136 B
JavaScript

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