Created
August 8, 2016 22:14
-
-
Save bgrins/288dd51aea381bb466fe9477ccc64118 to your computer and use it in GitHub Desktop.
Browser console script to connect the debugger to the current page (non-e10s)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Cu.import("resource://gre/modules/jsdebugger.jsm"); | |
addDebuggerToGlobal(this); | |
var dbg = new Debugger(); | |
var DOwindow = dbg.addDebuggee(content.window); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment