Debugging Maven plugin with IntelliJ
If you need to debug your Maven plugin, first, run with the command mvnDebug <goal>
. You will see something like this:
|
|
Now add a breakpoint with your IntelliJ to your desired line code.
Add a new Remote seettings:
Finally, run and the maven command will automatically proceed.