maven surefire debug with eclipse
set MAVEN_OPTS=-Dmaven.surefire.debug="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 -Xnoagent -Djava.compiler=NONE" set up a remote debug configuration in eclipse, with which the port is 8000 run: mvn test run eclipse debug configuration