blob: c7ab8434198bec1e7bfe4f9c82b92f6f5b9a541b (
plain)
1
2
3
4
5
|
var g = newGlobal({newCompartment: true});
var dbg = new Debugger(g);
dbg.onDebuggerStatement = (frame) => { frame.eval("c = 42;"); };
g.evalReturningScope("'use strict'; debugger;");
|