Created
November 7, 2012 23:25
-
-
Save campd/4035346 to your computer and use it in GitHub Desktop.
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
/** | |
* Run this scratchpad in a chrome context to enable the | |
* remote debugging server manually. | |
*/ | |
Components.utils.import("resource://gre/modules/devtools/dbg-server.jsm"); | |
if (!DebuggerServer.initialized) { | |
DebuggerServer.init(); | |
DebuggerServer.addBrowserActors(); | |
} | |
DebuggerServer.openListener(6000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment