All Projects → RemoteDebug → Remotedebug Firefox Adapter

RemoteDebug / Remotedebug Firefox Adapter

RemoteDebug protocol adaptor for Firefox

Programming Languages

javascript
184084 projects - #8 most used programming language

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].