Skip to content

Instantly share code, notes, and snippets.

@my5t3ry
Last active June 2, 2021 16:43
Show Gist options
  • Save my5t3ry/7f7a099e72564d8b2eb7c30c5eb16d7c to your computer and use it in GitHub Desktop.
Save my5t3ry/7f7a099e72564d8b2eb7c30c5eb16d7c to your computer and use it in GitHub Desktop.
GOROOT=/home/my5t3ry/.go #gosetup
GOPATH=/home/my5t3ry/go #gosetup
/home/my5t3ry/.go/bin/go build -o /tmp/___2go_build_github_com_lxc_lxd_lxd -gcflags all=-N -l github.com/lxc/lxd/lxd #gosetup
/home/my5t3ry/bin/GoLand-2020.3.3/plugins/go/lib/dlv/linux/dlv --listen=0.0.0.0:35463 --headless=true --api-version=2 --check-go-version=false --only-same-user=false exec /tmp/___2go_build_github_com_lxc_lxd_lxd --
API server listening at: [::]:35463
time="2021-06-02T18:14:32+02:00" level=warning msg="CGO_CFLAGS already set, Cgo code could be optimized." layer=dlv
could not launch process: could not open debug info
go version
go version go1.15.4 linux/amd64
/home/my5t3ry/bin/GoLand-2020.3.3/plugins/go/lib/dlv/linux/dlv version
Delve Debugger
Version: 1.6.0
Build: c5d58f494a266d9f95bf597bce894bd8d9204a65
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment