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

前端 未结 6 934
旧时难觅i
旧时难觅i 2020-12-22 17:13

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

6条回答
  •  失恋的感觉
    2020-12-22 17:23

    The solution from Colin Hebert is not working to me neither. But fortunelly I found an easy way to debug the test by doing right click on the green triangle appears next to the test method:

    Java test class example

    I hope thats helps you!

提交回复
热议问题