Adds useful debug features to your Electron app
Ideas for more debug features welcome!
Toggle Dev Tools.
- OS X: Cmd Alt I
- Linux: Ctrl Shift I
- Windows: Ctrl Shift I
Force reload the window.
- OS X: Cmd I
- Linux: Ctrl I
- Windows: Ctrl I
$ npm install --save electron-debug
require('electron-debug')();
let win;
app.on('ready', function () {
win = new BrowserWindow({});
});
MIT © Sindre Sorhus