You have a Java Spring Boot application built with Gradle in a Docker container and you need to debug it from your favorite IDE on your host machine (IntelliJ).
You can do it by attaching the remote debugger in IntelliJ to your Java application running in Docker.
Steps Open port :5005 in the container In this example the Java container is created using docker-compose.