Created
June 8, 2020 10:40
-
-
Save stuartleeks/c21f035a411215fd20f5a85f78450d01 to your computer and use it in GitHub Desktop.
dlv2 - delve helper
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
# simplify dlv debug etc: `dlv2 debug ./cmd/to/run arg1 arg2 ...` | |
dlv2() { dlv $1 $2 --headless --listen localhost:2345 --api-version 2 -- "${@:3}" ; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment