Overview
When you're running commands using Codefresh CLI you may face some issues related to:
- Authentication problems
- Network-related issues (e.g.: trying to reach Codefresh platform)
- Delays or errors executing a command (e.g.: running a pipeline locally)
By enabling the debug
mode when using the Codefresh CLI, you will get more verbose output, which will help you to understand where and when a potential issue is happening.
Details
- Enable the
debug
mode for the Codefresh CLI: to do so, you need to initialize theDEBUG
environment variable as follows:
DEBUG=codefresh*
- Run the Codefresh CLI command you would like to debug. For example:
codefresh run my-project/my-pipeline --local
(or any other Codefresh CLI command)
- You will get an output similar to this:
Note:
If after reviewing the output provided by the debug mode you're still unable to fix the issue, please include that output in a ticket. That way the Support Team will be able to help you.
Related Items
- Codefresh CLI documentation
- Codefresh CLI Installation and upgrade process (it's important to keep your Codefresh CLI up to date)