# Diagnostics

Source: https://zshot-cli.com/reference/flags/diagnostics/
Markdown: https://zshot-cli.com/reference/flags/diagnostics/index.md
Section: [Reference](https://zshot-cli.com/reference/) › [Flags](https://zshot-cli.com/reference/flags/)

## Flags

| Flag | Description |
| --- | --- |
| [`--axtree`](https://zshot-cli.com/reference/flags/diagnostics/axtree/) | Path to write an accessibility tree alongside the render (Standard) |
| [`--axtree-only-visible`](https://zshot-cli.com/reference/flags/diagnostics/axtree-only-visible/) | The accessibility tree holds only what a person can see (Standard) |
| [`--llm-debug`](https://zshot-cli.com/reference/flags/diagnostics/llm-debug/) | Log every model call's prompt and reply |
| [`--llm-usage`](https://zshot-cli.com/reference/flags/diagnostics/llm-usage/) | Write the tokens each model spent as JSON |
| [`--network-log`](https://zshot-cli.com/reference/flags/diagnostics/network-log/) | Capture network actions in a log file |
| [`--pprof-captures-navigation`](https://zshot-cli.com/reference/flags/diagnostics/pprof-captures-navigation/) | pprof will contain navigator session (Pro) |
| [`--pprof-cpu`](https://zshot-cli.com/reference/flags/diagnostics/pprof-cpu/) | Path to write a CPU sampling profile (pprof) for this request (Pro) |
| [`--pprof-cpu-interval-us`](https://zshot-cli.com/reference/flags/diagnostics/pprof-cpu-interval-us/) | CPU sampling interval in microseconds (Pro) |
| [`--pprof-memory`](https://zshot-cli.com/reference/flags/diagnostics/pprof-memory/) | Path to write a memory allocation profile (pprof) for this request (Pro) |
| [`--pprof-memory-interval-bytes`](https://zshot-cli.com/reference/flags/diagnostics/pprof-memory-interval-bytes/) | Memory sampling interval in bytes (Pro) |
| [`--pprof-no-gzip`](https://zshot-cli.com/reference/flags/diagnostics/pprof-no-gzip/) | Disable gzip compression for pprof output (Pro) |
| [`--trace`](https://zshot-cli.com/reference/flags/diagnostics/trace/) | Path to write a performance trace for this request (Pro) |
| [`--trace-captures-navigation`](https://zshot-cli.com/reference/flags/diagnostics/trace-captures-navigation/) | Trace will contain navigator session (Pro) |
| [`--trace-no-gzip`](https://zshot-cli.com/reference/flags/diagnostics/trace-no-gzip/) | Disable gzip compression for the trace (Pro) |
| [`--trace-no-screenshots`](https://zshot-cli.com/reference/flags/diagnostics/trace-no-screenshots/) | Omit the screenshot filmstrip from the trace (Pro) |

## Navigation

- [Examples](https://zshot-cli.com/examples/)
- [Download](https://zshot-cli.com/download/)
- [Purchase](https://zshot-cli.com/purchase/)
- [Reference](https://zshot-cli.com/reference/)
  - [Formats](https://zshot-cli.com/reference/formats/)
  - [Flags](https://zshot-cli.com/reference/flags/)
    - [Common](https://zshot-cli.com/reference/flags/common/)
    - [Agents](https://zshot-cli.com/reference/flags/agents/)
    - [Archive](https://zshot-cli.com/reference/flags/archive/)
    - [Browser](https://zshot-cli.com/reference/flags/browser/)
    - **Diagnostics**
      - [--axtree](https://zshot-cli.com/reference/flags/diagnostics/axtree/)
      - [--axtree-only-visible](https://zshot-cli.com/reference/flags/diagnostics/axtree-only-visible/)
      - [--llm-debug](https://zshot-cli.com/reference/flags/diagnostics/llm-debug/)
      - [--llm-usage](https://zshot-cli.com/reference/flags/diagnostics/llm-usage/)
      - [--network-log](https://zshot-cli.com/reference/flags/diagnostics/network-log/)
      - [--pprof-captures-navigation](https://zshot-cli.com/reference/flags/diagnostics/pprof-captures-navigation/)
      - [--pprof-cpu](https://zshot-cli.com/reference/flags/diagnostics/pprof-cpu/)
      - [--pprof-cpu-interval-us](https://zshot-cli.com/reference/flags/diagnostics/pprof-cpu-interval-us/)
      - [--pprof-memory](https://zshot-cli.com/reference/flags/diagnostics/pprof-memory/)
      - [--pprof-memory-interval-bytes](https://zshot-cli.com/reference/flags/diagnostics/pprof-memory-interval-bytes/)
      - [--pprof-no-gzip](https://zshot-cli.com/reference/flags/diagnostics/pprof-no-gzip/)
      - [--trace](https://zshot-cli.com/reference/flags/diagnostics/trace/)
      - [--trace-captures-navigation](https://zshot-cli.com/reference/flags/diagnostics/trace-captures-navigation/)
      - [--trace-no-gzip](https://zshot-cli.com/reference/flags/diagnostics/trace-no-gzip/)
      - [--trace-no-screenshots](https://zshot-cli.com/reference/flags/diagnostics/trace-no-screenshots/)
    - [Document](https://zshot-cli.com/reference/flags/document/)
    - [Image](https://zshot-cli.com/reference/flags/image/)
    - [Navigator](https://zshot-cli.com/reference/flags/navigator/)
    - [Security](https://zshot-cli.com/reference/flags/security/)
    - [Server](https://zshot-cli.com/reference/flags/server/)
    - [Video](https://zshot-cli.com/reference/flags/video/)
  - [Agents](https://zshot-cli.com/reference/agents/)
  - [Configuration](https://zshot-cli.com/reference/configuration/)
  - [Crawling](https://zshot-cli.com/reference/crawling/)
  - [Docker](https://zshot-cli.com/reference/docker/)
  - [Exit Codes](https://zshot-cli.com/reference/exit_codes/)
  - [Linux](https://zshot-cli.com/reference/linux/)
  - [LLM Connections](https://zshot-cli.com/reference/llm_connections/)
  - [LLM Formatting](https://zshot-cli.com/reference/llm_formatting/)
  - [Local Inputs](https://zshot-cli.com/reference/inputs/)
  - [Navigator](https://zshot-cli.com/reference/navigator/)
  - [Security](https://zshot-cli.com/reference/security/)
  - [Server](https://zshot-cli.com/reference/server/)
  - [Shell completions](https://zshot-cli.com/reference/shell_completions/)
  - [Storage](https://zshot-cli.com/reference/storage/)
  - [Timeouts](https://zshot-cli.com/reference/timeouts/)
  - [Web Bot Auth](https://zshot-cli.com/reference/web_bot_auth/)
- [Support](https://zshot-cli.com/support/)
- [Changelog](https://zshot-cli.com/changelog/)

Site index: https://zshot-cli.com/llms.txt

