javaintellij-ideahotdeployspring-loaded

Breakpoints does not work after reloading classes with springloaded in Intellij


I'm running my java application with an "Application" configuration in Intellij and I'm using these vm options for using springloaded: -javaagent:.../springloaded-1.2.0.RELEASE.jar -noverify

The class reloading with springloaded works fine.

But the debugger won't stop any more at the breakpoints in the reloaded classes. Breakpoints in other classes still work.


Solution

  • This solution works:

    But perhaps there's a better solution?