Ctrl + C does not stop node server in command line from VS Code
From a normal command line, Windows ctrl+c
will stop the node server.
However, if I run the Command Prompt via a VS Code menu item Open in Command Prompt
, then clicking ctrl+c
(even multiple times) does not stop the server as usual.
Any idea what's different in the VS Code command line versus the standard Windows command line?
(Works on Windows 10 x64) (VS Code 1.11.2)
source to share
In VS Code, you will see a dropdown menu at the top of the terminal in the right corner. If you are working with a site application and want to close it or are "stuck", the drop-down menu should say "site". Click on the trash (destroy terminal) next to the list to close the running node application. You should be returned to the terminal unless you have something else running, such as another node's application. Choose bash, powershell, etc. From the drop-down menu to return to the command line.
source to share