1 2 3 4 5 6
// A debugger can survive per-compartment GC. var g = newGlobal({newCompartment: true}); var dbg = Debugger(g); gc(g); gc(this);