Starting to Debug a COBOL Application in a Container

Once your Visual COBOL Development Hub base image is running and you have found out its ID or IP address you are ready to use Visual COBOL to connect to the container using remote debugging.

Debugging Using a Remote Machine contains information about using Visual COBOL to remotely debug native COBOL applications in general. You should be familiar with the information presented in Debugging Using a Remote Machine before learning how to use remote debugging to debug a COBOL application running in a Docker container.

If you have followed the steps outlined in Building a COBOL Application that is to be Debugged in a ContainerRunning a Container that is to be Debugged and Finding the Details of a Container that is to be Debugged you will have a container that isn't yet running your COBOL application but is waiting for you to connect to it using Visual COBOL. See To start debugging a COBOL application that is not yet running in a container for full information on how to do this.

Note: If you have a debuggable COBOL application that is already running in a container you can still connect to the application and debug it. See To start debugging a COBOL application that is already running in a container for more information on how to do this.