Coder Social home page Coder Social logo

ofear / remotedebug-firefox-adapter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from remotedebug/remotedebug-firefox-adapter

0.0 2.0 0.0 1.86 MB

RemoteDebug protocol adaptor for Firefox

Home Page: http://remotedebug.org

JavaScript 100.00%

remotedebug-firefox-adapter's Introduction

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.

remotedebug-firefox-adapter's People

Contributors

auchenberg avatar ankon avatar laukstein avatar grssam avatar

Watchers

James Cloos avatar Ofir Hadad avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.