This is group blog $ ( 'demo') original Aptana Debug JavaScript tutorial, picture because of the reasons for release, $ ( 'demo') to release me, I have some language to do this article was amended. Appreciation $ ( 'demo')!

Preliminary work

1. You must install the firefox browser;

2. Http://support.aptana.com/asap/browse/STU-1769 to download and install aptanadebugger and firebug; which are both firefox plug-ins;

So that we can debug the script.

Today, through a small example, under the terms of Aptana Debug JavaScript; Click here to download this example

1. At Aptana default panel, which is the upper right corner of Aptana icon is activated,

Project at the left side panel to create a new project [right-click the new]

a. New Project css88, Note: new projects are at folder / file path appears not to english characters, otherwise not be able to debug, such as not to put paper on my desk (in the English version of the system) Figure:

b. Right-click css88 projects, create a new document css88.js Figure:

2. Now just created css88.js debug

Click the debug icon in the upper right corner

Then through the debugger to display the various functions of Aptana Debug Figure:

If Debug interface, not functional panel, under the window menu to add the figure show view:

Step one: Add a breakpoint 【Double-click the line number, double-click delete the same】 Figure:

Step Two: Click the debug icon, run firefox Figure:

If you look at firefox interface appear in Figure, then you can debug, and

Firefox icon in the lower right corner carefully facie Aptanadebugger and Firebug icon is lit up, and status page

Back to Aptana, can be seen in Figure

Step three: analysis of the function of the right side of the panel

3. More than I use Aptana experience, if you have good skills may wish to share next!

If you are using Aptana encountered problems, please message and we can work together to solve problems, or add javascript to discuss qq群(7617538).