I\'m still new to Electron which I\'m currently following here.
I\'ve read this page regarding on how to include the Chrome DevTools so that I can debug my applicati
So, after you've required the following:
var app = require('app');
You can use the following code (I use it in my app):
app.commandLine.appendSwitch('remote-debugging-port', '8315');
app.commandLine.appendSwitch('host-rules', 'MAP * 127.0.0.1');
Accessing the following address allows me to debug the application in Chrome:
http://127.0.0.1:8315
I hope this helps you out. I'm also new to Electron!
If you also need to do some configurations to the underlying browser engine, please, refer to the docs.