Bring your Discord's devtools back to life
Discord devtools was disabled, see more.
You can enable it again by adding the following property to your desktop application's config.json file:
"DANGEROUS_ENABLE_DEVTOOLS_ONLY_ENABLE_IF_YOU_KNOW_WHAT_YOURE_DOING": true
I made this project just to study some features of zx, as silly as it sounds, I learned a lot. I also did it because I imagine people must be asking themselves "Where is devtools?" I hope one way or another this helps you.
The script supports multiple installation paths per platform (e.g., standard, Flatpak, Snap installations on Linux). It will automatically detect which Discord installation exists on your system and use the appropriate configuration path.
Linux paths supported:
- Standard:
~/.config/discord/settings.json - Flatpak:
~/.var/app/com.discordapp.Discord/config/discord/settings.json - Snap:
~/snap/discord/current/.config/discord/settings.json
Just run
npx zx https://raw.githubusercontent.com/BrunoS3D/discord-enable-devtools/main/index.mjsIt's ready now just restart discord
Open config file with vscode (or whatever you use)
code %appdata%/discord/settings.jsonStandard config path:
code ~/.config/discord/settings.jsonFlatpak config path:
code ~/.var/app/com.discordapp.Discord/config/discord/settings.jsonSnap config path:
code ~/snap/discord/current/.config/discord/settings.jsoncode ~/Library/Application Support/discord/settings.jsonJust add the following property to the config file:
{
"DANGEROUS_ENABLE_DEVTOOLS_ONLY_ENABLE_IF_YOU_KNOW_WHAT_YOURE_DOING": true,
// ...
}It's ready, now, just restart your Discord app