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.
- Enable the
debugmode for the Codefresh CLI: to do so, you need to initialize the
DEBUGenvironment variable as follows:
- 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:
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.