I\'m having difficulties in debugging a Java spring-boot application on IntelliJ IDEA community Edition. The main problem is, that the IDE won\'t stop on a breakpoint, even the
Create new Remote
Configuration. By default you don't need to change settings: -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005.
But if you want for example to suspend JVM before you connects, you
can change suspend=y. Or you can chage port etc.
Copy command line depending your JVM version and save configuration.
In Terminal window run your app with (in Maven usage case and JVM 1.5 and higher) mvn clean spring-boot:run -Drun.jvmArguments="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005"
Connect to your app by running your Remote Configuration created prviously on step 2. Now you can debug your app.