You use a COBOL Application debug configuration to debug projects developed on a remote UNIX machine. Depending on your connection type, you may need to configure an X window implementation before you can debug the remote application, so that the output of a remote application running on a UNIX machine can be viewed on your local machine. If you are using an SSH connection type, you do not need an X window implementation (although you can still use one if you wish); with an SSH connection type, you can direct the remote program output to the Console view in the IDE instead.
Micro Focus Reflection Desktop for X is provided as part of Visual COBOL. Find the Reflection Desktop for X documentation on the Micro Focus OpenText Support for Micro Focus Products dropdown menu.
If the remote machine is running behind a firewall but is accessible via SSH, you need to use a proxy server to handle traffic to the remote machine. Visual COBOL supports the SOCKS5 internet protocol. This enables you to route network traffic through SSH to the remote machine. To use SOCKS with a proxy server perform the following steps:
This opens the Edit Proxy Entry dialog box for the SOCKS schema.
If your proxy server is configured to request authentication you need to specify the details:
If you are going to use the COBOL Application debug configuration you also need to use SSH port forwarding to route X Server display to the local machine. This means you need to specify the remote machine port (rather than the local machine port) when specifying the display in the preferences:
The value following localhost comes from /etc/ssh/sshd_config - X11DisplayOffset and is incremented for each additional user.
See To create a connection to a remote UNIX host running behind a firewall for details of how to use SOCKS with PuTTY as the proxy server.