Skip to content

Instantly share code, notes, and snippets.

@cesarhernandezgt
Created April 4, 2019 21:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cesarhernandezgt/e91b1572885d96f1e27e02229e2085e4 to your computer and use it in GitHub Desktop.
Save cesarhernandezgt/e91b1572885d96f1e27e02229e2085e4 to your computer and use it in GitHub Desktop.
How to run Tomcat/TomEE docker container in debug mode
docker run -it -p 8080:8080 -p 8000:8000 -e CATALINA_OPTS="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:8000" tomcat:9.0.17-jre11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment