title: In IntelliJ, how do i debug a maven test goal?
body: <p>Using intellij and maven pom files, how do i debug tests run inside the maven test goal?</p>
  
  <p>When i run them directly in the code, it complains something about profiles missing, which i've ticked inside intellij's Maven Projects.</p>