The cobdebugremote process runs on a remote machine and enables you to debug 32-bit applications on that machine using remote connections.
Note: If the software installed on the remote machine is 64-bit-only, then this version (the 32-bit version) of cobdebugremote is not available.
Restriction: This topic applies to native COBOL only.


To start the cobdebugremote process, enter the following at a COBOL command prompt:


cobdebugremote option


no options
Starts the process and opens a random port for remote connections. The port number is displayed in the console.
Specify the machine that the process is running on. Only valid with the stop option.
Specify the port to use to listen for connection requests.
Specify the range of ports to use. If port nnnnn is in use, the next port is tried until a free port is found. If no free ports are found in the range, the utility returns an error.
Note: You must enter the same number you set as the port option in the cobdebugremote port field of your debug configuration.
After the debug session has been completed, start listening for another connection. If no option is specified, the process exits after the debug session has completed.
Causes the process that is listening on the port to exit. Must be used with the port option. This is only valid when the process is waiting for a connection.


The following example starts the cobdebugremote process using port 45678 to listen for connection requests. After the debug session has been completed, the process starts listening for another connection.

cobdebugremote port=45678 repeat