The general process for debugging or running a native COBOL application in a container is the same as for debugging or running any native COBOL application, provided you have done the following before you start debugging or running:
See Running the Container Demonstration for the Visual COBOL Base Image for more information.
Visual COBOL can create a template Dockerfile for you or you can use your own if you already have one.
See To add a Dockerfile to a native COBOL project for more information.
See To specify container information in debug and run configurations for more information.
Once you have performed these steps you can debug or run as you would normally. See Debugging COBOL applications and To run a COBOL application on your local machine for information on the debugging process in general, and To debug or run a native COBOL application in a container for container-specific debugging information.