VSCode配置python調試環境

1.下載python解釋器
2.在VSCode市場中安裝Python插件html

 

tasks.jsonpython

 

{
        // See https://go.microsoft.com/fwlink/?LinkId=733558
        // for the documentation about the tasks.json format
        "version": "2.0.0",
        "tasks": [
            {
                "taskName": "echo",
                "type": "shell",
                "command": "C:\\Python34\\python",//Python可執行文件路徑
                "args": ["${file}"]
            }
        ]
    }

4.在用戶設置里加兩條

 

settings.jsonshell

 

 

"python.pythonPath": "C:\\Python34\\python" ,//路徑
    "python.linting.enabled": false,//忘了是什麼東西了,反正有用
相關文章
相關標籤/搜索