RemoteDebug protocol adaptor for Firefox
Branch: master
Clone or download
Latest commit c2c104f Jul 21, 2016
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Major refactor. May 24, 2015 Update Jul 20, 2016 More todo. Oct 20, 2013
index.js Added Inspector agent May 26, 2015

RemoteDebug Firefox Adaptor.

DEPRECATION: This protocol adapter has never left it's experimantal stage, and does currently nok work with Chrome DevTools, as the Remote Debugging API's have diverged. If you want to collaborate please reach out to me.

This is a protocol adaptor that allows you to remote debug Firefox instances via RemoteDebug, aka Chrome Debugging protocol, with tools like Chrome DevTools.

Getting started

  1. Run npm install
  2. Start Firefox with remote debugging enabled using path/to/firefox --start-debugger-server
  3. Run npm start
  4. Open http://localhost:9222/json in Chrome.
  5. Locate your tab in the json-output, and open the devtoolsUrl url in Chrome.
  6. Bam! Champagne!


This project is in the very early stage. The basic shell is there to expose a RemoteDebug compliant server: Listen and trigger notifications, handle multiple connections, etc.

Current supported operations:

  • Console: Evaluate expression
  • DOM: getDocument
  • DOM: highlightNode
  • DOM: hideHighlight
  • DOM: setAttributesAsText


How to enable remote debugging in Firefox?


To enable remote debugging on the device, you need to set the devtools.debugger.remote-enabled preference to true.

Go to about:config in Firefox for Android, type "devtools" into the search box and press the Search key. You'll see all the devtools preferences. Find the devtools.debugger.remote-enabled preference, and press "Toggle".


Should already be enabled.