docs: Open detached devtools in example
This commit is contained in:
parent
580abedbb7
commit
25c5938c76
1 changed files with 1 additions and 1 deletions
|
@ -1131,7 +1131,7 @@ app.once('ready', () => {
|
|||
devtools = new BrowserWindow({show: false})
|
||||
devtools.show()
|
||||
win.webContents.setDevToolsWebContents(devtools.webContents)
|
||||
win.webContents.openDevTools()
|
||||
win.webContents.openDevTools({mode: 'detach'})
|
||||
})
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue