Skip to content

Commit

Permalink
debug: separate target and delve parameters
Browse files Browse the repository at this point in the history
Adds the `--` separator parameter so delve doesn't try to parse any
command line parameters intended for the target binary.
  • Loading branch information
zregvart committed Sep 25, 2024
1 parent 55e7099 commit 0cda1a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/build/gobuild.go
Original file line number Diff line number Diff line change
Expand Up @@ -1117,6 +1117,7 @@ func (g *gobuild) buildOne(ctx context.Context, refStr string, base v1.Image, pl
"--log",
"--accept-multiclient",
"--api-version=2",
"--",
}

// Augment the base image with our application layer.
Expand Down

0 comments on commit 0cda1a1

Please sign in to comment.