如何告诉Intellij要调试哪个模块?

时间:2011-03-29 16:34:03

标签: android debugging module intellij-idea

我有一个带有多个模块的Intellij项目。当我按下ctrl + d时,它会运行并调试我的一个模块。如何更改它以便运行/调试其他模块?

2 个答案:

答案 0 :(得分:1)

您应该create the Run/Debug configurationspecify which module to use for the classpath使用模块的类路径和JDK )。然后只需选择它并按主工具栏上的“调试”按钮,或者您可以使用nice chooser via keyboard shortcut

答案 1 :(得分:0)

我找到了。工具栏中有一个下拉列表,您可以在其中决定运行/调试哪个模块。请在图片中看到“未命名”enter image description here

相关问题