To set up remote debugging for native COBOL applications

Restriction: The following applies to native code only.
  1. Before you start your COBOL development system, ensure that the local and remote systems are networked using TCP/IP.
  2. On the remote machine, start a COBOL command environment, and start a cobdebugremote process by typing:
    cobdebugremote port=nnnnn

    where nnnn is the port number. It is recommended that you use a port number greater than 1024 as numbers below are for system use.

    Note:
    • By default, the cobdebugremote process exits after the debug session has completed. To keep the process running and listening for another connection, start the process with the repeat option:
      cobdebugremote port=nnnnn repeat
    • If you need to debug a 64-bit application, start cobdebugremote64 in the same way.
  3. On the remote machine, configure the Firewall so it allows the Micro Focus Debugger Proxy V2.

    Or, open a TCP port for communications in the Firewall. The port number you add should be the one you specified on the cobdebugremote or cobdebugremote64 command line.

  4. On the local machine, configure the Firewall so it allows the Micro Focus Debugger Proxy V2.

    Or, open a TCP port for communications in the Firewall. The port number you add should be the one you specified on the cobdebugremote or cobdebugremote64 command line.