About Debugging JavaScript Files

See Also 

You can use the IDE to debug JavaScript files in HTML5 applications. JavaScript debugging starts automatically when you run the application or unit tests in one of the browsers that support debugging. When you are debugging the application the following windows provide debugging details.

When you run the application the debugger will pause execution of the application at the first breakpoint in the JavaScript that is encountered and the JavaScript file that contains the breakpoint opens in the editor. The IDE also automatically opens the JavaScript debugger windows.

You can use the debugging buttons in the toolbar to step through the JavaScript files.

Browsers that Support Debugging

To debug JavaScript files in the IDE the IDE needs to be able to communicate with the debugger. To use the JavaScript debugger in the IDE you need to select one of the following browser options as the target browser.

You can select the target browser for the application in the Browser dropdown list in the toolbar. Alternatively, you can select the browser in the Run category of the Project Properties window.

See Also
Setting JavaScript Breakpoints
Integrating an HTML5 Project with a Browser

Legal Notices