Skip to content

Commit

Permalink
fix go-delve URL (aws#1142)
Browse files Browse the repository at this point in the history
  • Loading branch information
goldeneggg authored and sriram-mv committed Apr 23, 2019
1 parent 13b6b3a commit d813551
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ Debugging Golang functions

Golang function debugging is slightly different when compared to
Node.JS, Java, and Python. We require
[delve](https://github.com/derekparker/delve) as the debugger, and wrap
[delve](https://github.com/go-delve/delve) as the debugger, and wrap
your function with it at runtime. The debugger is run in headless mode,
listening on the debug port.

Expand All @@ -463,7 +463,7 @@ You must compile [delve]{.title-ref} to run in the container and provide
its local path via the [\--debugger-path]{.title-ref} argument. Build
delve locally as follows:

`GOARCH=amd64 GOOS=linux go build -o <delve folder path>/dlv github.com/derekparker/delve/cmd/dlv`
`GOARCH=amd64 GOOS=linux go build -o <delve folder path>/dlv github.com/go-delve/delve/cmd/dlv`

NOTE: The output path needs to end in [/dlv]{.title-ref}. The docker
container will expect the dlv binary to be in the \<delve folder path\>
Expand Down

0 comments on commit d813551

Please sign in to comment.