Skip to content

Debug Mode

For any issue, enable verbose mode to get detailed information:

bash
gcop-rs -v commit
gcop-rs -v review changes

This shows:

  • Configuration loading
  • API request metadata and retry details
  • API response status/body logs for non-streaming requests
  • Commit prompts (system + user) when running gcop-rs -v commit
  • Response parsing diagnostics

Security Notice: Verbose mode (-v or RUST_LOG=debug) may expose sensitive data, including:

  • Code diffs and change content
  • Prompt content (especially in gcop-rs -v commit)
  • API response bodies and generated commit messages
  • Partial API keys in error messages

Do not share verbose logs publicly or commit them to version control.

Getting Help

If you encounter an issue not listed here:

  1. Run with --verbose and check the logs
  2. Check the Configuration Reference
  3. Review the Provider Setup Guide
  4. Open an issue on GitHub with:
    • Your config file (remove API keys!)
    • Command you ran
    • Error message
    • Output from gcop-rs -v (remove sensitive info)