unable to debug spring boot application with postman requests

Answered

I am using Intellij latest version. I have a Spring Boot application which I do execute application by maven goals : spring-boot run in debug mode. The application started without any problem but unfortunately I am not able to debug the application hen I send request from Postman. I can see the logs and I can see my requests/responses are working properly.

But I am not able to debug it .. Mvn clean/install, maven compile all the commands are working properly except debugging.

You know how to fix that problem ?

4 comments
Comment actions Permalink

Using Spring Boot Run/Debug configuration is preferable and should help with the debug issues.

Your ticket is being handled in support as well, so we'll post the update here once it's resolved to avoid the duplication.

0
Comment actions Permalink

Any update on this please?

I have the same issue with IDEA community version with spring boot application. Postman send the request and the app is  processing successully (see the logs) and see the response back in postman but IDEA doesn't stop in the breakpoint. breakpoint is not disabled. 

0
Comment actions Permalink

If you are using Maven configuration, IDE debugger connects to the Maven JVM and breakpoints will not work as your code runs in the different JVM forked by Maven. Consider using IntelliJ IDEA Ultimate with the Spring Boot debug configuration or use Application debug configuration instead of Maven.

0
Comment actions Permalink

Yes using Maven!! thank you

0

Please sign in to leave a comment.