To enable remote debugging using a COBOL Application debug configuration, you need to have an X window implementation installed and running before you start to debug, 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 the
Enterprise Developer installation.
UNIX:
Ensure the local X11 server can receive connections from the remote machine. You can do this using the
xhost + command or by enabling SSH port forwarding. Alternatively, enable TCP/IP connections for X11 by setting a value in a configuration file in a manner appropriate to your operating system. For example:
- Red Hat: run the
gdmsetup utility and deselect
Deny TCP connections to Xserver in the Security tab (this configures
DisallowTCP=false in /etc/gdm/custom.conf)
- SUSE: set DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN="yes" in
/etc/sysconfig/displaymanager
You need to specify the details about the display that the X11 server tries to contact in the IDE preferences:
- Click
Windows > Preferences > Micro Focus > Debug.
- Type the display details in the
Default X Server (DISPLAY) field.
The default
Default X Server (DISPLAY) value is
clientMachineName:0.0. This configuration applies to both remote COBOL and PL/I projects.