Debugtron is a command line tool to debug Electron based app.
npm install -g debugtron
You can also run
npx debugtron to use it directly.
This command will list all possible Electron based apps installed, then you can select which app to debug.
If you want to debug specific app, run