Search code examples
testingmaven-2intellij-idea

In IntelliJ, how do i debug a maven test goal?


Using intellij and maven pom files, how do i debug tests run inside the maven test goal?

When i run them directly in the code, it complains something about profiles missing, which i've ticked inside intellij's Maven Projects.


Solution

  • What about a right click on your goal and "Debug [your goal]" (in your case the test goal)?

    debug goal