To be able to debug a containerized native COBOL application that is running on Enterprise Server, you must have configured the container so that:
See To set a fixed port in a listener endpoint address for information on setting a fixed port for listeners, and Docker: Docker run reference for information on using the -p or -P option to the docker run to publish the port when running the container.
[ES-Environment] ES_DDBG_PORT_RANGE=08000,00001
See To Set Environment Variables from the User Interface and Environment variables in alphabetical order for more information.
See Docker: Docker run reference for information on using the -p or -P option to the docker run to publish the port when running the container.
You might want to store these files in the same directory as the executable files, to simplify the container's configuration.