From 71ee864d1d184f10aa03dbc70d51dadf46e92a09 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Thu, 21 May 2015 11:16:39 +0800 Subject: [PATCH] docs: Open devtools in the quick start example --- docs/tutorial/quick-start.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/tutorial/quick-start.md b/docs/tutorial/quick-start.md index d9f6504eb1fa..fbdad5b4ec4c 100644 --- a/docs/tutorial/quick-start.md +++ b/docs/tutorial/quick-start.md @@ -95,6 +95,9 @@ app.on('ready', function() { // and load the index.html of the app. mainWindow.loadUrl('file://' + __dirname + '/index.html'); + // Open the devtools. + mainWindow.openDevTools(); + // Emitted when the window is closed. mainWindow.on('closed', function() { // Dereference the window object, usually you would store windows