summaryrefslogtreecommitdiff
path: root/electron_js/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'electron_js/main.js')
-rw-r--r--electron_js/main.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/electron_js/main.js b/electron_js/main.js
index ae3ad75a..436ba4af 100644
--- a/electron_js/main.js
+++ b/electron_js/main.js
@@ -1,4 +1,5 @@
const electron = require('electron');
+//require('electron-debug')({showDevTools: true});
// Module to control application life.
const {app} = electron;
// Module to create native browser window.
@@ -31,7 +32,7 @@ function createWindow() {
win.loadURL(`file://${__dirname}/index.html`);
// Open the DevTools.
- //win.webContents.openDevTools();
+ win.webContents.openDevTools();
// Emitted when the window is closed.
win.on('closed', () => {