VS code python调试

// A task runner that runs a python program
{
"version": "0.1.0",
"command": "python",
"windows": {
"command": "python.exe"
},
"args": ["${file}"]
}

按下ctrl+shift+b,将上述代码替换对应代码即可

原文地址:https://www.cnblogs.com/yinsua/p/4727387.html