Debug electron production binaries
Launch your Electron application with the --remote-debugging-port=8315
flag set and navigate to chrome://inspect/#devices
in Chrome 80+. Then click Configure... and add localhost:8315
as a discovery server.
Then, wait for your Electron instance to appear in the devices list and click inspect.