Chrome Browser Logs
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 a message in the Console Logs for “debug mode on”
Right-click in any empty space and choose "Inspect"
Navigate to the "Console" tab
To toggle off, simply press Ctrl + M again
You should a message in the Console Logs for “debug mode off”
If Option M does not work, please use the steps in the “A different OS?” section below
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 a message in the Console Logs for “debug mode on”
Right-click in any empty space and choose "Inspect"
Navigate to the "Console" tab
To toggle off, simply press Option - D again
You should a message in the Console Logs for “debug mode off”
If Option D does not work, please use the steps in the “A different OS?” section below
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 a message in the Console Logs for “debug mode 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 Gear Icon, next to the three vertical dots, to navigate to Settings
Make sure the following preferences are checked:
Under Console
Show timestamps
Preserve log upon navigation
Under Network
Preserve log
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.