vscode launch.json 配置

自己网上查查找找,配置了一份go的,一份Python的
 
Python
// {
//     // 使用 IntelliSense 了解相关属性。 
//     // 悬停以查看现有属性的描述。
//     // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
//     "version": "0.2.0",
//     "configurations": [
//         {
//             "name": "Python: 当前文件",
//             "type": "python",
//             "request": "launch",
//             "program": "${file}",
//             "console": "internalConsole"
//         }
//     ]
// }

 


Golang

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {  
            "name": "Launch",
            "type": "go",
            "request": "launch",
            "mode": "auto",
            "program": "${file}",
            "env": {},
            "args": []
        }
    ]
}

 

 

posted @ 2021-01-08 14:01  董大轩  阅读(545)  评论(0编辑  收藏  举报