Debug unit tests
Sometimes we may need to debug the unit tests of a project, launched by Maven.
To do this, there is a parameter that causes Maven to wait for a remote debug connection on port 5005, before launching each test:
mvn -Dmaven.surefire.debug test
More information can be found in the documentation of the Maven debugging tests plugin