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.
debugtron
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
debugtron [appPath]
For example:
debugtron /Application/Slack.app # macOS
debugtron ~/AppData/Local/slack/slack.exe # windows
MIT