I am trying to debug Maven tests in IntelliJ IDEA. When I open IDEA\'s Maven Projects view and right-click on test goal, I get an option to debug it. C
If you're running unit tests with maven failsafe rather than surefire, then debugger will not stop and you have to manually run a failsafe debugger command line and then intellij will be able to stop on the breakpoints. I am unsure if using
option on failsafe solves this issue.
As I describe here: https://github.com/djangofan/maven-failsafe-debug-example