How to debug Step CLI commands in Windows PowerShell

When set to 1, `step` will provide extra diagnostic information for debugging. Use Powershell $env:STEPDEBUG = "1" and run your step command(s).

# 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.