How to debug Step CLI commands in Windows PowerShell

Edited
# Set an environment variable for STEPDEBUG equal to 1 (for true).
$env:STEPDEBUG = "1"

# Run a step command (the following fails and will show debugging information)
step ca bootstrap --ca-url https://bad_url --fingerprint bad_finger_print

The environment variable must be set to an integer 0 or 1 for true or false). Using PowerShell boolean variables such as $true or "true" will not be interpreted.

Learn more about environment variables for step here.

 

Was this article helpful?

Sorry about that! Care to tell us more?

Thanks for the feedback!

There was an issue submitting your feedback
Please check your connection and try again.