-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
Feature: Signal to Renderer to open Electron-Webview DevTools #37
Comments
Why? Not sure I understand the use-case. |
To Debug external Websources. In my case an Ionic WebApp |
But you can just use the shortcut or enable the option to open devtools automatically on startup. Maybe it would help if you provided an example usage. |
The shortcut openes only the DevTools from electron.BrowserWindow. An Example: Main process
Renderer Process: index.html
The dev-tools-opened Signal is fired from the openDevTools method |
Thanks for elaborating. Makes sense. I wonder though if there's any way we can handle that more automagically. Like maybe allow you to pass in the |
Trying to solve parro-it/debug-menu#6 I made some experiment using I remember of this issue... I think it could be elegantly solved using |
A useful feature it would be if a signal is sent to the renderer process. Because then you can decide in Electron-Webview whether this also wants to open the DevTools.
The text was updated successfully, but these errors were encountered: