Skip to content

Commit

Permalink
feat: add debug directive to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
shaneutt committed Sep 15, 2023
1 parent 49f104e commit 62c9d9d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,10 @@ build: generate fmt vet ## Build manager binary.
run: manifests generate fmt vet ## Run a controller from your host.
go run ./main.go

.PHONY: debug
debug: manifests generate fmt vet ## Run a controller from your host via debugger.
dlv debug ./main.go

.PHONY: build.image
build.image:
DOCKER_BUILDKIT=1 docker build -t $(BLIXT_CONTROLPLANE_IMAGE):$(TAG) .
Expand Down

0 comments on commit 62c9d9d

Please sign in to comment.