Remote Debug Java Spring Boot in Intellij IDEA

Create Deployment Profile


Create Debug Configuration

Connect to server via SSH and go to mapped folder and run Spring Boot with –debug-jvm

gradle bootRun --debug-jvm

On Intellij IDEA run remote debug configuration

References
https://stackoverflow.com/questions/39490624/how-to-debug-spring-application-with-gradle
https://stackoverflow.com/questions/975271/remote-debugging-a-java-application
https://jdpgrailsdev.github.io/blog/2014/07/15/spring_boot_remote_debug.html