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.
See To add a Dockerfile to a native COBOL project for more information.
Once you have performed these steps you can use the Docker debug profile to debug or run as you would normally. See Debugging COBOL applications 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.