Last active
October 23, 2017 18:21
-
-
Save whazzmaster/8d7c1136e5acf078af38ec9a46e15284 to your computer and use it in GitHub Desktop.
golang vscode launch configuration
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 tests", | |
"type": "go", | |
"request": "launch", | |
"mode": "test", | |
"program": "${workspaceRoot}" | |
}, | |
{ | |
"name": "Launch local", | |
"type": "go", | |
"request": "launch", | |
"mode": "debug", | |
"remotePath": "", | |
"port": 2345, | |
"host": "127.0.0.1", | |
"program": "${workspaceFolder}/main.go", | |
"env": {}, | |
"args": [], | |
"showLog": true, | |
"trace": true | |
}, | |
{ | |
"name": "Remote debug in Docker", | |
"type": "go", | |
"request": "launch", | |
"mode": "remote", | |
"program": "${workspaceRoot}", | |
"env": {}, | |
"args": [], | |
"remotePath": "/go/src/app", | |
"port": 2345, | |
"host": "192.168.99.100" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment