Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toggle DevTools is toggling the Electron Devtools, not <webview> #10

Open
krainboltgreene opened this issue Mar 21, 2016 · 2 comments
Open

Comments

@krainboltgreene
Copy link
Contributor

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 no toggleDevTools()). But that's not all, as <webview> tags can't have docked DevTools :(

@max-mapper
Copy link
Owner

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

@krainboltgreene
Copy link
Contributor Author

Adding to this I recently saw an electron app that had a correctly docked DevTools. Maybe it was Atom?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants