# Inspect runtime diagnostics

Source: https://libtmux.org/en/rs/latest/workspace/cli/debug-info/

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

**Workspace Manager concept example** A working example of the core library. It can change without notice.



Collect the workspace CLI runtime, configuration and tmux diagnostics.

## Collect a report

```console
$ tmux-workspace debug-info --json
```

Review the report before sharing it. Paths, session names and raw tmux values
can describe your environment even when home-directory prefixes are redacted.
Use the failed command exit status and stderr to diagnose its actual failure.

See [troubleshooting](https://libtmux.org/en/rs/latest/workspace/guides/troubleshooting/) and the [machine output
reference](https://libtmux.org/en/rs/latest/workspace/reference/output/).

[CLI source](https://github.com/libtmux/libtmux-rs/blob/e9be0b6f6d22cd2eb79b0ec08964f82e717e5fe4/crates/tmux-workspace/docs/cli.md).
