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. Clicking it executes this goal but the execution never stops at any breakpoints. What am I missing?
Thanks.
mvn -Dmaven.surefire.debug testthen connecting to the running (but waiting) instance, as @milan has suggested (+1) works for me. - user206428