--diagnostics
- CLI
- --diagnostics
- REST
- diagnostics
Prints system, version and FFmpeg library details for support, then exits without rendering. With a URL, it adds the CLI and curl commands that reproduce the request.
Warning: Content May Include Private Data
The output names the OS user and, with a URL, the request’s URLs and values. ZShot filters secrets from it; review the rest before sharing.
Example
Print system diagnostics:
CLI
Run locally
zshot --diagnosticsPrint diagnostics for a request:
zshot --diagnostics --file-name test.png https://zshot-cli.com/{ "url": "https://zshot-cli.com/", "diagnostics": true }curl -XPOST \
-d '{ "url": "https://zshot-cli.com/", "diagnostics": true }' \
-H "Content-Type: application/json" \
http://localhost:3000