VS Code starts debugging in integrated terminal instead of debug console

前端 未结 6 1192
一向
一向 2020-12-02 17:14

I\'ve been using VS Code for quite some time and just today I started having this strange issue. Previously if I started debugging an program (F5) it would start debugging a

6条回答
  •  余生分开走
    2020-12-02 17:50

    I had the same problem but I solved it by adding a new configuration at the top that looked like this:

    {
        "name": "Python: Current File",
        "type": "python",
        "request": "launch",
        "program": "${file}",
        "console": "internalConsle"
    },
    

    I found this a better solution because I didn't have to change one of my other debug functions. In your case the "Python: Terminal (integrated)" debug option. Which I need as much as I need the debug console function. I use both function and they show the output where I want the output to be shown.

提交回复
热议问题