=== Context
The code for debug mode is currently loaded on all pages but is enabled by a hidden user preference, which can be toggled by typing the following incantation in your browser's console:
```lang=js,name=[0]
new mw.Api().saveOption('eventlogging-display-web', '1')
```
=== User Story
As an experimenter (engineer, analyst, PO)
I want to see EventLogging events that are being sent //in the MediaWiki UI//
So that I can verify that they are correct with ease
=== Acceptance Criteria
[] [[ https://github.com/wikimedia/mediawiki-extensions-EventLogging/blob/master/modules/ext.eventLogging.debug.js | EventLogging's "debug mode" (the `ext.eventLogging.debug` RL module) ]] is open to users in one ore more groups
* Strawdog proposal: the `staff` group on production wikis and always on the Beta Cluster
[] If the user is in any of the groups[] The user preference that toggles debug mode is visible to users with the appropriate user right; otherwise, then debug mode can be toggled by clicking a link in the sidebarit's hidden
=== Notes
# H# For the curious, here's a screencap of what EventLogging's debug mode looks like:
{F14198413}
# You can only currently enable debug mode by typing the following incantation in your browser's console:
```lang=js,name=[0]
new mw.Api().saveOption('eventlogging-display-web', '1')
```
That debug mode is a hidden user option, which can only be enabled on a per-user per-wiki basis.