如何在 IDEA IntelliJ 的调试模式下发送输入?

How to send input in the debug mode of IDEA IntelliJ?

在 IntelliJ IDEA 中,调试模式到达行时无法发送输入

String i = in.nextLine();

正在等待用户输入。

============================================= =

截图如下

看起来你的控制台在调试模式下是隐藏的。请参阅分析器旁边最右边带有 > 符号的图标。单击它,它必须打开控制台。

另一种方式是right click on Debugger and choose Layout and check mark Console.