Skip to content

Commit

Permalink
feat: pass DEBUG env var to aztec-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
alexghr committed Nov 2, 2023
1 parent 2e43412 commit ef7a69a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions yarn-project/cli/aztec-cli
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,11 @@ if [[ ! -z "${PRIVATE_KEY:-}" ]]; then
DOCKER_ENV="$DOCKER_ENV -e PRIVATE_KEY=$PRIVATE_KEY"
fi

# pass along the debug variable in case the dev wants to see what's happening inside the CLI
if [[ ! -z "${DEBUG:-}" ]]; then
DOCKER_ENV="$DOCKER_ENV -e DEBUG=$DEBUG"
fi

DOCKER_VOLUME="$DOCKER_VOLUME -v cache:/cache"

$DOCKER_PATH run \
Expand Down

0 comments on commit ef7a69a

Please sign in to comment.