1 2 3 4 5 6
"use strict"; var dbg = new Debugger(global); dbg.onDebuggerStatement = function (frame) { postMessage("debugger"); };