RemoteDebug protocol adaptor for Firefox
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
agents
bin
data
lib
objects Removed unnecessary files Sep 19, 2015
readme
tools
.gitignore
README.md
TODO.md
index.js Added Inspector agent May 26, 2015
package.json

README.md

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!

Status

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

FAQ

How to enable remote debugging in Firefox?

Linux

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".

Mac

Should already be enabled.