Hi,
the surefire-plugin defaults to fork a new jvm for running the tests.
You either have to specify the debug options in the parameter
of the plugin configuration or disable the forking.
-Tim
Paul Sterk schrieb:
Hi,
I want to run 'mvn test' and have maven open a jdwp listener so that I
c
it should be enough to open ant-run-plugin project sources in the IDE,
place the breakpoints in the test and execute the "Debug file" action
on the test file.
With the approach you have taken, it's possible to debug maven
internals, however the test is probably executed in yet another VM
which is n
Hi,
I want to run 'mvn test' and have maven open a jdwp listener so that I
can debug a plugin unit test. I thought I found the answer:
export MAVEN_OPTS="-Xdebug
-Xrunjdwp:transport=dt_socket,address=9009,server=y,suspend=y"
I then ran 'mvn test' and connected to port 9009 with Netbeans 5.5.1.