Debug a project in maven.

2011-09-06 Thread Pedro Costa
Hi, I've created a project using maven, and know I would like to debug my project. I've 2 different questions: 1 - How can I debug remotely a project that was created in maven? 2 - I use vim as an editor. How can I debug a project that is on my PC (now, it's not on a remote site, but locally)

Re: Debug a project in maven.

2011-09-06 Thread David Hoffer
If you use an IDE like IDEA it can open/create a project right from the pom, then debug as usual. -Dave On Tue, Sep 6, 2011 at 11:05 AM, Pedro Costa psdc1...@gmail.com wrote: Hi, I've created a project using maven, and know I would like to debug my project. I've 2 different questions: 1 -

Re: Debug a project in maven.

2011-09-06 Thread Jason van Zyl
On Sep 6, 2011, at 1:05 PM, Pedro Costa wrote: Hi, I've created a project using maven, and know I would like to debug my project. I've 2 different questions: 1 - How can I debug remotely a project that was created in maven? mvnDebug clean install This will setup a debugging session

Re: Debug a project in maven.

2011-09-06 Thread Olivier Lamy
To debug units. Try : -Dmaven.surefire.debug=true this will open a debug session on port 5005 2011/9/6 David Hoffer dhoff...@gmail.com: If you use an IDE like IDEA it can open/create a project right from the pom, then debug as usual. -Dave On Tue, Sep 6, 2011 at 11:05 AM, Pedro Costa