Deploy and debug a Java web application inside a container running Tomcat
note
Before you begin, install and run Docker, enable the Docker plugin, and connect to the Docker daemon in IntelliJ IDEA. For more information, see Getting started with Docker in IntelliJ IDEA.
note
For convinience, you can configure a
Before launch
task in theremote_tomcat_debug
run configuration so that it first starts thedocker_compose
configuration. However, there is an issue that Docker Compose needs some time to start the service, and remote JVM debug does not wait for the service. There is a fix for this that will be available in the next major release: 2023.2. For more information, see IDEA-172781.
Thanks for your feedback!
Was this page helpful?