Created
December 19, 2021 11:06
-
-
Save sljeff/208e3a14a788a76226f97905a5313699 to your computer and use it in GitHub Desktop.
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
{ | |
"configurations":{ | |
"Debug GRPC":{ | |
"adapter":"vscode-go", | |
"configuration":{ | |
"type":"go", | |
"request":"launch", | |
"mode":"debug", | |
"remotePath":"", | |
"port":2345, | |
"host":"127.0.0.1", | |
"program":"${workspaceRoot}/cmd", | |
"env":{}, | |
"args":["grpcsvc", "--env", "development"], | |
"dlvToolPath":"/home/jeff/go/bin/dlv", | |
"showLog":true | |
} | |
}, | |
"Debug API":{ | |
"adapter":"vscode-go", | |
"configuration":{ | |
"type":"go", | |
"request":"launch", | |
"mode":"debug", | |
"remotePath":"", | |
"port":2345, | |
"host":"127.0.0.1", | |
"program":"${workspaceRoot}/cmd", | |
"env":{}, | |
"args":["oapisvc", "--env", "development"], | |
"dlvToolPath":"/home/jeff/go/bin/dlv", | |
"showLog":true | |
} | |
}, | |
"Test Current Package":{ | |
"adapter":"vscode-go", | |
"configuration":{ | |
"type":"go", | |
"request":"launch", | |
"mode":"test", | |
"remotePath":"", | |
"port":2345, | |
"host":"127.0.0.1", | |
"program":"${file}", | |
"env":{}, | |
"args":[], | |
"dlvToolPath":"/home/jeff/go/bin/dlv", | |
"showLog":true, | |
"cwd":"${fileDirname}" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment