--- myst: html_meta: "description lang=en": "Reading console output in any web browser to troubleshoot client errors with Kasm Workspaces." "keywords": "Kasm, How to, How-to, Troubleshooting, API Errors, Chrome, Firefox, Administration, Debugging" "property=og:locale": "en_US" --- ```{title} Client Debugging ``` # Client Debugging Information Administrators may need users to gather detailed connection information to triage a problem. The following steps may be used to harvest Console logs and HAR (HTTP Archive Format) network information from the client. ```{warning} Data gathered by the following steps will contain sensitive information. Never post this data to public forums. It should be securely transmitted to the Kasm administrator. It is recommended that users change their passwords after submitting the debugging information. ``` ## Developer Tools Console Log and HAR Data The following steps can be used to gather the Console logs and HAR networking data. The example is for Firefox, but is similarly applicable for Chrome/Chromium-based browsers. ### Pre-Test - Log into Kasm Workspaces. - Press **F12** to open the web browser **Developer Tools.** - Select the **Network** tab in the developer tools, and ensure **Persist Logs** is checked. ```{figure} /images/client_debugging/ff_network_persist_logs.png :align: center **Enabling Network Persist Logs Setting** ``` - Select the **Console** tab and ensure **Persist Logs** is checked. ```{figure} /images/client_debugging/ff_console_persist_logs.png :align: center **Enabling Console Persist Logs Setting** ``` - *Conduct the desired test.* ### Post-Test - Select the **Network** tab from developer tools. Select the settings gear icon and select **Save all as HAR**. ```{figure} /images/client_debugging/ff_save_as_har.png :align: center **Exporting to HAR file** ``` - Select the **Console** tab from the developer tools. Right click one of the messages and select, **Export Visible Messages To → File**. ```{figure} /images/client_debugging/ff_export_console_logs.png :align: center **Exporting to Console logs** ``` - *Send the files to the Kasm administrator.*