先安装Python3。
然后在launch.json文件中加入以下
{
"name": "Python",
"type": "python",
"request": "launch",
"pythonPath": "D:/Program Files/Python37/python.exe",
"program": "${file}",
"console": "externalTerminal" //调试时是否显示控制台窗口
},
先安装Python3。
然后在launch.json文件中加入以下
{
"name": "Python",
"type": "python",
"request": "launch",
"pythonPath": "D:/Program Files/Python37/python.exe",
"program": "${file}",
"console": "externalTerminal" //调试时是否显示控制台窗口
},