Remote Debugging
1. Open the execution job of your application that uses the RUNOPT file with the debug configurations.
Note:
It is recommended to use an interface other than Eclipse, such as Terminal, ZOWE, or Web Com-Plete.
2. Open the debug configuration settings through Run > Debug Configurations > Jopaz Remote Application > your_saved_configuration
where your_saved_configuration is the name you have given to your configuration settings file.
3. Start the remote debugging process by clicking Debug.
The debugger waits for a few seconds for you to start your job.
4. Start your job immediately.
On the sysout of the JVM, you should get this message: Debugger listening on port 9999 ....
If you have not started the job while the debugger is waiting, an error pop-up appears.
5. The debugging mode starts and a new instance of your configuration is created.
You can see the instance in the Debug tab.
6. When the debugging instance is started, you can change the format of the source code in the debugging mode by selecting COBOL Source > Format > your preferred appearance.
7. You can now perform the desired operations, such as setting breakpoints and stepping through the single instructions.
Note:
For the next remote debugging run, you no longer need to go through the debug configuration menu. You can simply start the debugger through the bug icon in the toolbar.