How to debug javascript in Aptana

Source: Internet
Author: User
You can use Aptana to debug javascript. Generally, you can use firefox + firebug to debug javascript. The premise is to install the Firebug plug-ins and the aptanadebugger plug-ins. They are as follows:

Http://getfirebug.com/releases/firebug/1.2/firebug-1.2.0.xpi

Http://firefox.aptana.com/update/aptanadebugger.xpi

Start debugging:

Select the html file for debugging, right-click "Debug As" and choose "Debug... "," Web Browser "should be selected in the left-side menu, and the" Browser executable "on the" Main "tab on the right must fill in the path of the firefox.exe file. Other Default values can be used, such:



Click "Debug" to go To the debugging view. (aptana also opens the firefox browser.) For example:



In addition:

If debug does not work properly, right-click "Relaunch" and try again,


Sometimes there is no "Web Browser" menu in the Debug option panel, only the "Remote JS" menu is available,


The solution is as follows:

"Window"-> "Preferences"-> "Run/Debug"-> Launching-> Launch Configuration

Remove the check box in "Web Browser" on the right.


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.