Skip to main content
Jump to: navigation, search

JSDT/Debug/Using Crossfire Debugger

< JSDT‎ | Debug
Experimental Code
The Crossfire debugger is in a experimental/propotype stage. The code is brittle and many use cases are not supported.


The Crossfire debugger is an experiment to see if the JSDT debugger apis can be hooked up to another debugger that was not co-developed with JSDI in mind. Crossfire is an extension to Mozilla's Firebug that supports JavaScript debugging on mobile devices and browsers.

Installing Components

  1. Install Eclipse with JSDT Debug
  2. Install Firebug
  3. Install Crossfire - the latest version of crossfire (0.2a5 at the time of this writing)

Creating the Configuration

Once everything is installed and ready to go simply:

  1. open the launch configuration dialog in debug mode
  2. create a new JavaScript configuration
  3. select one of the Crossfire launching connectors, fill in the fields as needed and press debug

If you chose the Crossfire attaching connector, and did not check the option to automatically launch the browser, you will have to ensure that FireFox is running and Crossfire is listening in server-mode.

If, however, you chose the listening connector, you will now have to start your browser (or switch to it if it is already running) and connect back to Eclipse.

Back to the top