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
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.