July 15, 2017
Multi target Electron debugging in VS Code
Electron 1.7 introduced v8 inspector protocol added in node.js 6.3. This protocol replaces legacy debugging protocol in node.js, allows to debug Electron’s main process via v8’s inspector protocol. Since Chromium uses same protocol for its devTools, now Electron can have seamless debugging experience between main process and renderer process. Simply run Electron with --inspect command argument and open given url in Chrome, now devTools will open up pointing main process code.
...
Read more