Open krainboltgreene opened 8 years ago
Hmm yea thats annoying. I think the default should prob be too open the webview devtools. But also would be nice to have a way to open the BrowserWindow devtools also still
Adding to this I recently saw an electron app that had a correctly docked DevTools. Maybe it was Atom?
So this isn't so easy, honestly. Something I had issues implementing with Lowbrow.
Essentially you have to get the current window's current webview and then call
<webview>.openDevTools()
(sadly there is notoggleDevTools()
). But that's not all, as<webview>
tags can't have docked DevTools :(