Want to know more about what happens during a CLI command


I want to debug an issue with a CLI command.


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.

Ask on Stack Overflow

Engage with a community of passionate experts to get the answers you need

Ask on Stack Overflow

Heroku Support

Create a support ticket and our support experts will get back to you

Contact Heroku Support