The prerequisite is to install the Firebug plug-in and the Aptanadebugger plugin, their download address is as follows:
Http://getfirebug.com/releases/firebug/1.2/firebug-1.2.0.xpi
Http://firefox.aptana.com/update/aptanadebugger.xpi
To start Debugging:
Select the debug HTML file you want, right-click "Debug as" under "Debug as", where "Web Browser" is selected on the left menu, "Browser executable" in the "Main" tab on the right. Must fill in the correct firefox.exe file path, the other default can be, the following figure:
Click the "Debug" button to enter the Debug view (Aptana will also open the Firefox browser), as shown below:
Other than that:
If you run debug without a corresponding, you can right-click on "relaunch" in the test, as shown in the figure:
Sometimes there is no "Web Browser" menu in the Debug Options panel only the Remote JS menu, as shown in figure:
The solution is as follows:
"Window"-> "Preferences"-> "Run/debug"-> launching-> Launch-Configuration
Remove the tick from the right "Web Browser".