Unrecognized request: { _request: evaluate } in visual studio code

前端 未结 1 586
刺人心
刺人心 2020-12-12 02:09

This is my java code on visual studio code when I try to run it on visual studio code and enter a number it says: Unrecognized request: { _request: evaluate } ... What shoul

相关标签:
1条回答
  • 2020-12-12 02:19

    According to the VSCode Java Debugging Doc you have to use a terminal as console like the integrated Terminal instead of the internal console.

    The default Debug Console in VS Code doesn't support inputs. If your program need inputs from a terminal , you can use the Integrated Terminal (Ctrl+`) within VS Code or an external terminal to launch it.

    You also can set the console property in your launch.json to integratedTerminal or externalTerminal, so you will use it every debug session.

    0 讨论(0)
提交回复
热议问题