Preparing to debug

Before you can begin a debug session, create a workbench project and ensure that it includes the script that you want to debug. After you have created the project, you can create a launch configuration for it and begin a debug session. If you plan to debug script during Web application development, it must be included in a Web project.

To debug using source on your workstation that is not currently in the project that you have created for the debug session, import your source into the project. To import source into a project, select the project and choose File > Import from the workbench menu bar and then, in the Import dialog box, choose File system as the import source.

 

Related tasks

Setting debug preferences
Starting a debug session
Debugging an HTML Script Application
Debugging a Script Host Application
Debugging Web project script
Using the Debug view
Terminating a debug session