@brettcannon
At the end of program execution (while debugging) we display the prompt Press any key to continue...' I've only added this as PTVS does the same thing (i.e. wanted to be consistent). However I think PTVS does it because the terminal gets closed once you hit the Enter` key, i.e. you can't see the output).
Personally I don't see the need for this in VS Code.
Reason is when you execute a simple program such as print("hello world"), the program doesn't end until you hit the enter key (except when debugging using the standard vscode debug console). I.e. everytime you run a simple program, you have to hit the Enter key (more key presses).
Here's an example:
PS C:\git\python> cd 'c:\git\python'; $env:PYTHONIOENCODING='UTF-8'; $env:PYTHONUNBUFFERED='1'; c:/python36/python C:\Users\...\.vscode-insiders\extensions\ms-python.python-0.8.0\pythonFiles\PythonTools\visualstudio_py_launcher.py c:\git\python 50640 34806ad9-833a-4524-8cd6-18ca4aa74f14 WaitOnAbnormalExit,WaitOnNormalExit c:\git\python\HelloWorld.py
Hello, world!
Press any key to continue . . .
@brettcannon
At the end of program execution (while debugging) we display the prompt
Press any key to continue...' I've only added this as PTVS does the same thing (i.e. wanted to be consistent). However I think PTVS does it because the terminal gets closed once you hit theEnter` key, i.e. you can't see the output).Personally I don't see the need for this in VS Code.
Reason is when you execute a simple program such as
print("hello world"), the program doesn't end until you hit the enter key (except when debugging using the standard vscode debug console). I.e. everytime you run a simple program, you have to hit theEnterkey (more key presses).Here's an example: