I have this simple program:
process.stdin.once("data", function (data) {
console.log("You said your name is " + data);
process.stdin.pause();
});
console.log("What is your name?");
process.stdin.resume();
Now I put a breakpoint inside a callback:
And run the program, the console tab is open:
But whatever I type into the terminal in this console tab doesn't trigger a breakpoint. It seems that this console tab is not a terminal used to accept input from a user.


