Issue
I want to debug an issue with a CLI command.
Resolution
Set HEROKU_DEBUG=true
before running the command to see the details of the requests that the CLI is making. E.g., HEROKU_DEBUG=true heroku apps -a <app-name>
.
You can run the failing CLI commands with HEROKU_DEBUG=true
and send us the output (making sure it doesn't contain any confidential information, such as API keys, first).
If you are on Windows the syntax is slightly different.
cmd /V /C "set DEBUG=* && heroku -v"
If HEROKU_DEBUG is not so useful, try DEBUG=*
. Please refer to https://devcenter.heroku.com/articles/heroku-cli#troubleshooting for details.