Skip to content

Commit

Permalink
add debug environment variable when debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
jakecoffman committed Oct 10, 2022
1 parent 581677e commit edcc9a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/infra/updater.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ func (u *Updater) RunShell(ctx context.Context, proxyURL string, apiPort int) er
AttachStderr: true,
Tty: true,
User: dependabot,
Env: userEnv(proxyURL, apiPort),
Env: append(userEnv(proxyURL, apiPort), "DEBUG=1"),
Cmd: []string{"/bin/bash"},
})
if err != nil {
Expand Down

0 comments on commit edcc9a7

Please sign in to comment.