Debug CLI command reference

Gathers information about your local Sanity environment.

USAGE
  $ sanity debug [--secrets] [--verbose]

FLAGS
      --secrets  Include API keys in output
      --verbose  Show full error details including stack traces

DESCRIPTION
  Print diagnostic info for troubleshooting

EXAMPLES
    $ sanity debug

    $ sanity debug --secrets

Was this page helpful?

sanity.ioAll Systems Operational© Sanity 2026
Change site theme