-
Notifications
You must be signed in to change notification settings - Fork 908
How to enable the debugging log
If you are experiencing a bug with the extension and others are having trouble reproducing it, it can be helpful to include a record of the debug log that gets generated while you are experiencing the bug.
To enable debugging in The Great Suspender:
- Open the extension settings page
- Select
about
on the left-hand sidebar - Click on the link to the
debug page
OR in the url of the about page, changeabout.html
todebug.html
- This will take you to a hidden debug page which allows you to turn logging on and off. At the top of this page, click the links to toggle logging on for both
debugErrors
anddebugInfo
This will turn on logging for the extension. You can now close this debug page if you want to. Now continue to use the extension and try to recreate the bug. Once you have achieved this you need to grab a copy of the debug log from the extension background page (in the devtools console). To do this:
- Open the chrome extensions page in a new tab:
chrome://extensions
- Find the entry for The Great Suspender and click on
details
- Under
inspect views
, click onbackground page
- This will open up the chrome devtools window. From here, click on
console
at the top - This should show you the contents of the extension debug log.
- Copy and paste this log text, or right-click on it and choose
save as
- Include this log with your bug report!
Please note: When you restart the extension (or restart your browser) the logging will revert back to off
. You will need to follow the steps again to re-enable logging if you want to take another log after a restart