Selecting Window > Preferences from the workbench menu bar opens the Preferences dialog box. In this dialog box, you can choose the Run/Debug node to set a variety of debug preferences and you can choose other nodes that affect the general behavior of the workbench. You can expand the Run/Debug node and choose HTML Script Application to set the following preferences for debugging Active Script:
If you want to be able to debug script when using the Web project Debug on Server action, select the Enable Active Script Debug during Server Debug check box.
When you launch a debug session for an HTML script application, the workbench launches a browser to run the application. In this preference page, you can set the termination behavior of this browser when you terminate the debug session:
By default, you will be prompted when you terminate an HTML Script Application debug session.
When you are finished setting preferences, click OK to save it and close the Preferences dialog box. If you want to continue using the dialog box, click Apply to save the preference and then proceed with other actions in the dialog box.