Enabling debugger in docker container

Hi, we are migrating from m2ee-tools to docker deplyments of on-premise systems. How to enable/disable debugger in a running container? We are aware of triggering the debugger at container’s startup by providing them with a variable DEBUGGER_PASSWORD=”stringData”, but then the debugger is enabled throughout the lifetime of this instance of container which is undesired.
0 answers