Search code examples
electronfedoradevtools

Electron DevTools Inspector not showing on Linux


I am running an electron app on Fedora Linux machine, and while the main Electron app is rendering fine, right-clicking and choose "Inspect Element" doesn't bring up the DevTools window.

I also tried "View" -> "Toggle Developer Tools" menu, but the window isn't brought up either.

I don't think this is an issue with the app, because DevTools work for this app on Mac/ other platforms.

Is there something I need to do in order for the devtools windows to show up?


Solution

  • It seems like the problem is that I'm using a older electron version (11.x). Upgrading to a new version (anything from 13.5.0 onwards) fixes the issue.

    It came down to this bug https://github.com/electron/electron/pull/31047, though I'm still not sure why this only affected my Fedora environment and not others.