Problem description:
Java debugger doesn’t work with user input (Scanner on System.in).
Contents of Main:
System.out.println("Hello world!");
Scanner s = new Scanner(System.in);
System.out.print("What is your name? ");
String name = s.nextLine();
System.out.println("Nice to meet you, " + name);
Expected behavior:
Hello world!
What is your name? Something
Nice to meet you, Something
Actual behavior:
Hello world!
What is your name? Something
bash: Something: command not found
Steps to reproduce:
Create Repl with code above
Open debugger and start
Step through with the debugger, type user input when prompted
Browser:
OS: Windows
Device (Android, iOS, n/a leave blank): Lenovo laptop
Plan (Free, Hacker, Pro Plan): Education