Created
August 21, 2017 11:59
-
-
Save praveenkumar/7ec29bfb8dfac856c464b5fbbe40362e to your computer and use it in GitHub Desktop.
VS code launch json for minishift debuging using delve
This file contains hidden or 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": 2345, | |
"buildFlags": "-pkgdir=/home/prkumar/work/github/practice/go/src/github.com/minishift/minishift/out/bindata -ldflags='-X github.com/minishift/minishift/pkg/version.minishiftVersion=1.4.1 -X github.com/minishift/minishift/pkg/version.b2dIsoVersion=v1.1.0 -X github.com/minishift/minishift/pkg/version.centOsIsoVersion=v1.1.0 -X github.com/minishift/minishift/pkg/version.openshiftVersion=v3.6.0 -X github.com/minishift/minishift/pkg/version.commitSha=bf271c62'", | |
"host": "127.0.0.1", | |
"program": "${workspaceRoot}/cmd/minishift", | |
"env": {"GOPATH": "/home/prkumar/work/github/practice/go", | |
"GOROOT": "/usr/lib/golang" | |
}, | |
"args": ["start"], | |
"showLog": true | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment