# Gathering Diagnostics

Our client libraries have diagnostics reporting function that reports on key information about your environment and whether a successful connection can be made to `quilc`, QVM, and the QCS API. This information can help identify problems in your environment, guide you to relevant [](https://docs.rigetti.com/qcs/troubleshooting "mention") steps, or help us figure out what is going on in an issue report. See the documentation in your client library of choice to learn how to get a diagnostics report.&#x20;

* pyQuil: [Collect debug information](https://pyquil-docs.rigetti.com/en/stable/troubleshooting.html#collect-debug-information)
* qcs-sdk-rust: [diagnostics::get\_report](https://docs.rs/qcs/latest/qcs/diagnostics/fn.get_report.html)
