Skip to content

Commit

Permalink
ci: [skip ci] Migrating to gdlv instead of dlv for debugging golang
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Boutour <[email protected]>
  • Loading branch information
ViBiOh committed Jun 1, 2021
1 parent 7e37edb commit 2d42aa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ PACKAGES ?= ./...
MAIN_SOURCE = cmd/goweb/api.go
MAIN_RUNNER = go run $(MAIN_SOURCE)
ifeq ($(DEBUG), true)
MAIN_RUNNER = dlv debug $(MAIN_SOURCE) --
MAIN_RUNNER = gdlv -d $(shell dirname $(MAIN_SOURCE)) debug --
endif

.DEFAULT_GOAL := app
Expand Down

0 comments on commit 2d42aa8

Please sign in to comment.