# Inspect runtime diagnostics

Source: https://libtmux.org/en/py/stable/workspace/cli/debug-info/

> Collect the workspace CLI runtime, configuration and tmux diagnostics..

Collect tmuxp, Python, tmux, configuration and environment diagnostics.

## Collect a report

```console
$ tmuxp debug-info --json
```

The command writes one JSON object. Named path fields mask the home directory,
but raw tmux output arrays are preserved. Review diagnostics before sharing them
because names, commands and raw values may describe your environment.

See [troubleshooting](https://libtmux.org/en/py/stable/workspace/guides/troubleshooting/) for connection and
configuration failures.

[Command source](https://github.com/tmux-python/tmuxp/blob/618b398acc05506d3c682906c36cdeb29dcfa1ff/src/tmuxp/cli/debug_info.py).
