To allow for more advanced troubleshooting, it may be useful to observe Sharpen's debug mode console tracing, as well as Chrome Network logs. These logs allow for the population of more granular Q data within the console log including the socket event, currentlocation, queue call manager ID, caller ID, and timeliness of transactions. This article explains how to gather…
Chrome console logs with debug mode, time stamps, and persistence enabled
Chrome network logs with persistence enabled
This video tutorial shows the setup process, a test call, and log gathering. The test call is meant to represent the issue you may be experiencing. Performing the test call is not a required part of the process.
Getting started
The first step in advanced browser troubleshooting is gaining access to the Chrome dev console. Simply right click in the browser area and choose "Inspect".
You're there!
Now onto the good stuff.
Sharpen Console logs with debug mode:
To enable debug logging, it is important to consider which operating system you're running. Steps to enable debug mode are slightly different. Please follow the steps below depending on whether you're running Windows or MacOS.
Windows:
Navigate to the appropriate view of Sharpen within app.sharpencx.com in Google Chrome
Click in an open space within the app
Press Ctrl + M on your keyboard
You should notice a yellow panel/highlight across the top of your Q view. This indicates debug mode is on
Right-click in any empty space and choose "Inspect"
Navigate to the "Console" tab
To toggle off, simply press Ctrl + M again
The yellow bar should go away at this time
Mac:
Navigate to the appropriate view of Sharpen within app.sharpencx.com in Google Chrome
Click in an open space within the app
Press Option + D on your keyboard
You should notice a yellow panel/highlight across the top of your Q view. This indicates debug mode is on
Right-click in any empty space and choose "Inspect"
Navigate to the "Console" tab
To toggle off, simply press Option - D again
The yellow bar should go away at this time
A different OS?:
Navigate to the appropriate view of Sharpen within app.sharpencx.com in a Chromium based browser
Right-click in any empty space and choose "Inspect"
Choose the "Sources" tab
Observe the pane on the right side of the screen and find the "Watch" sub panel
Click the "+" button
Enter localStorage.debug=true
Hit Enter
Refresh your browser
You should notice a yellow panel/highlight across the top of your Q view. This indicates debug mode is on
Navigate back to the console tab
To toggle off, simply adjust the value to false
Enabling timestamps and log persistence in console logging:
Now, with debug mode enabled, we're getting more details events about Sharpen Q. The next step is to make sure time stamps are enabled so we can see when events are occurring.
After inspecting the page, navigate to the "Console" tab.
Look for the three vertical dots
Next, choose settings
Make sure both "Show timestamps" and "Preserve log upon navigation" are checked under Preferences>Console subsection.
Make sure “Preserve log” is checked under the “Network” subsection.
Reproducing the issue:
Logging is all setup. We're ready to reproduce the issue. Upon every reproduction it is best practice to clear out the logging for the console and network tabs before getting started.
Navigate to the "Console" tab
Click the "Clear Console" button
Navigate to the "Network" tab
Click the "Clear" button
Reproduce the issue
Saving the logs:
Once we've reproduced the issue, it is very important to download both the Console and Network logs before exiting the browser.
Saving console logs:
Navigate to the "Console" tab
Right-click in the log space
Choose "Save As..."
Leave the file name as is, and save to a known directory
Saving network logs:
Navigate to the "Network" tab
Click the "Export HAR" button
Unlike the Chrome console log, the default file name does not contain a time stamp. Add a date/time reference to the file name and save to a known directory.
At this point you're ready to package the files and send them to Sharpen. Simply zip them up and send them to SharpenCare with the associated case.
Historic browser logging (net-export)
If the issue you're experiencing does not happen on demand, or predictably, you may need to enable Chrome net-export logging to run in the background while you wait for the issue to occur. The steps are simple
Open a new Chrome tab
It is important you leave this tab open for the duration of your session and intended reproduction. If the tab is closed, logging will stop.
Input chrome://net-export into the URL bar
Click the large "Start Logging to Disk" button
Choose a location to save the file and add a date/time designation to the filename
Save
Navigate back to your Sharpen tab and reproduce the issue
Once you have reproduced the issue, navigate back to the "Network Log Export" tab and choose "Stop Logging"
Navigate to the file directory you previously set and send the log to Sharpen