# Inspect runtime diagnostics

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

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

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/csharp/latest/workspace/guides/troubleshooting/) and the [machine output
reference](https://libtmux.org/en/csharp/latest/workspace/reference/output/).

[CLI source](https://github.com/libtmux/libtmux-dotnet/blob/f77fe776ba67a04abb20ddbbc26cf4a000d63b74/src/LibTmux.Workspace.Cli/README.md).
