Created
September 16, 2019 07:17
-
-
Save bsed/59ef1c1bbc9d9ce5926308a77ed18a5e to your computer and use it in GitHub Desktop.
golang vscode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Launch", | |
"type": "go", | |
"request": "launch", | |
"mode": "debug", | |
"remotePath": "", | |
"port": 4345, | |
"host": "127.0.0.1", | |
"program": "${workspaceRoot}", | |
"env": { | |
"go.gopath": "c:/gocode" // 打开终端,输入命令 go env 可以查看GOPATH路径 | |
}, | |
"args": [] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment