Debugging in the browser
All the available debugging options are available in the browser. You can
enable these options using the window.Glean
object.
The debugging preferences are set in the browser’s sessionStorage
. Once set
these options will persist until you end your current browser session.
Usage
Try it out
The documentation you are currently using is instrumented with Glean.js (cool right?).
- Right click on this page
- Click on “Inspect”
- Click on “Console”
- Set a debugging option like
window.Glean.setLogPings(true)
- Reload the page