Reading input during debugging in Python with VSCode

后端 未结 7 2106
执笔经年
执笔经年 2020-12-05 07:53

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

7条回答
  •  广开言路
    2020-12-05 08:31

    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.

提交回复
热议问题