Breakpoints not respected in Remote debugging of Maven / TestNG test

I am on 9.0.3

Does anyone have pointers on how to resolve the issue described in the subject line?

1 comment
Comment actions Permalink

The surefire plugin runs the tests in a new JVM - if you turn off forking, your test breakpoints should work.  Add this to your POM's plugins section:



Please sign in to leave a comment.