- Discord and BetterDiscord installed
- Download developerOptionsEnable.plugin.js
- Copy it to %APPDATA%/BetterDiscord/Plugins/
- In Discord settings->Plugins enable the "Enable Developer Options" plugin
The source code for this plugin is taken from https://gist.github.com/JohannesMP/afdf27383608c3b6f20a6a072d0be93c?permalink_comment_id=5308423#gistcomment-5308423, with slight modifications.