Reading input during debugging in Python with VSCode

The externalconsole directive is deprecated. Use console instead and indicate your preference for external this way:

"console": "externalTerminal"

The application output (and input) will go to a separate window so the VS Code debug console remains a pure python prompt where you can evaluate stuff during breakpoints.

Leave a Comment