Debug
Instead of running mvn
, run mvnDebug
.
This will wait for you to attach your remote debugger. Once connected, maven will continue, then and you can debug
maven itself or a plugin’s execution.
mvnDebug clean install
Preparing to Execute Maven in Debug Mode
Listening for transport dt_socket at address: 8000