I can\'t open devtools in the built version of my electron app. Therefore i want to find another solution to log any errors that only occur in the production version.
Is
On Mac just run open /Applications/WhatsApp.app --args --remote-debugging-port=8315 and then open https://localhost:8315
open /Applications/WhatsApp.app --args --remote-debugging-port=8315
https://localhost:8315