Here is the extension for python I used in the vs code: python extension.
When I use the debugging feature provided by the extension, it will hang in there and do no
The console
option could have any of these values: internalConsole, integratedTerminal, externalTerminal
.
Normally if you start the debugger and the program stops, it leaves the external terminal displaying a prompt Press Enter to continue . . .
to have access to any output of the program. If you accidentally have a syntax error the external terminal just closes not leaving any message.
When using the integratedTerminal
option, the terminal stays there and displays the error message.
While I do not know if this externalTerminal thing is a bug or not, the integratedTerminal option seems to work much better in this case.