You use a COBOL Application debug configuration to debug projects developed on a remote UNIX machine. Before you can debug the remote application, you need to have an X window implementation installed and running, so that the output of a remote application running on a UNIX machine can be viewed on your local machine. You do not need X window for other debug configuration types.
Windows:
Micro Focus ViewNow X is provided as part of Visual COBOL. See Installing X Windows on Windows in the Installation section. Find the ViewNow X documentation on the Micro Focus Infocenter.
Specify the details about the display that the X11 server tries to contact in the IDE preferences as follows:
The default Default X Server (DISPLAY) value is clientMachineName:0.0.
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.