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. One problem: none of my breakpoints were hit. Why is that? More info on my env: Maven version: 2.0.7 Java version: 1.6.0_02 OS name: "linux" version: "2.6.20-15-generic" arch: "amd64" Surely, someone has found a way to debug maven plugins using an IDE. Please tell me how. Thanks, Paul
