Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
JSDT/Debug/Using Crossfire Debugger
Overview
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
- Install Eclipse with JSDT Debug
- Install Firebug
- 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:
- open the launch configuration dialog in debug mode
- create a new JavaScript configuration
- 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.