我有一个带有多个模块的Intellij项目。当我按下ctrl + d时,它会运行并调试我的一个模块。如何更改它以便运行/调试其他模块?
答案 0 :(得分:1)
您应该create the Run/Debug configuration和specify which module to use for the classpath(使用模块的类路径和JDK )。然后只需选择它并按主工具栏上的“调试”按钮,或者您可以使用nice chooser via keyboard shortcut。
答案 1 :(得分:0)
我找到了。工具栏中有一个下拉列表,您可以在其中决定运行/调试哪个模块。请在图片中看到“未命名”