Skip to content
Snippets Groups Projects
Commit 25134931 authored by Jonathan Griffin's avatar Jonathan Griffin
Browse files

Bug 761252 - Set devtools.debugger.remote-enabled from Marionette,...

Bug 761252 - Set devtools.debugger.remote-enabled from Marionette, a=test-only, DONTBUILD because NPOTB
parent 132a3eab
No related branches found
No related tags found
No related merge requests found
......@@ -70,6 +70,9 @@ MarionetteComponent.prototype = {
try {
Cu.import('resource:///modules/devtools/dbg-server.jsm');
DebuggerServer.addActors('chrome://marionette/content/marionette-actors.js');
// This pref is required for the remote debugger to open a socket,
// so force it to true. See bug 761252.
Services.prefs.setBoolPref('devtools.debugger.remote-enabled', true);
// Always allow remote connections.
DebuggerServer.initTransport(function () { return true; });
DebuggerServer.openListener(port, true);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment