Use one of the following command line switches to enable debugging of the main process:
Electron will listen for V8 inspector protocol messages on the specified
port, an external debugger will need to connect on this port. The default
electron --inspect=5858 your/app
You will need to use a debugger that supports the V8 inspector protocol.
chrome://inspectand selecting to inspect the launched Electron app present there.
© 2013–2017 GitHub Inc.
Licensed under the MIT license.