在IntelliJ中,我如何调试maven测试目标? [英] In IntelliJ, how do i debug a maven test goal?
本文介绍了在IntelliJ中,我如何调试maven测试目标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
使用intellij和maven pom文件,我如何调试在maven测试目标内运行的测试?
Using intellij and maven pom files, how do i debug tests run inside the maven test goal?
当我直接在代码中运行它时,它会抱怨一些缺少配置文件,我在intellij的Maven项目中打勾。
When i run them directly in the code, it complains something about profiles missing, which i've ticked inside intellij's Maven Projects.
推荐答案
如果右键单击您的目标并调试[你的目标](在你的情况下是测试目标)?
What about a right click on your goal and "Debug [your goal]" (in your case the test goal)?
这篇关于在IntelliJ中,我如何调试maven测试目标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文