From the Visual Studio IDE | After creating the debug configuration for your project, right-click to select the project in the Solution Explorer and choose | , or .
From the command line | Execute the command cwcmd <program name> from the command line, or execute the command cwcmd by itself to attach to a currently running process. See The Command-line Interface for more on using the CodeWatch debugger's command-line interface. |
Using plidebug.dat | You can use
plidebug.dat on Windows Enterprise Server to cause the PL/I run time to start the debugger automatically when your program starts.
Note: This is currently supported only on Windows platforms.
See Defining Debug Settings for more information on using the plidebug.dat to automatically start the debugger. |
Call to PLITEST | Use a call to the PLITEST built-in in the user program to start and attach the debugger. The call to PLITEST can be used at any point in the user program to invoke the debugger. See PLITEST for more information on the parameters used in the built-in for invoking the debugger and a code sample. |