Generic Debugging
Select break points in the code you're are going to run.
Run Maven in debug mode, e.g mvn-debug install
Attach the debugger to the running maven by selecting the "Maven" debug configuration created above.
Eclipse will now stop Maven at the breakpoints you have enabled.