-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
BrowserWindowProxy debug #45
Comments
Not at the moment. I don't really see an obvious way to support it, but happy to take a pull request if there is. |
@riteshatsencha you can debug it remotely, using command argument `--remote-debugging-port=' and later connecting to that port via http (from chrome). Actually I'm working on a tool to simplify exactly this use case: it let you open multiple devtools within the same window, each one debugging a different renderer process:in the tab showed I'm debugging a page I opened with window.open It support browser windows, webview and window proxies (also main process when Electron will support node --inspect flag) |
@parro-it Thanks for the response. Yeah, tried it. Doesn't work. Remote debugging for the main browser window works just fine. I can work with the dev tools like expected. As soon as I open a BrowserWindowProxy none of the console logs are displayed in the console. Heck there is no way to open dev tools for BrowserWindowProxy, unless I am missing something. |
@riteshatsencha that's strange, it's working for me.
You should see in chrome a list of links. Could you post it? |
@parro-it as per the steps above...
Where exactly should I be looking for links? Let me know and I will be happy to post it here. Thx |
After step 3), you have to open chrome and navigate to http://localhost: You should see a list of link, one for each renderer process in your app. Clicking them, you get a devtools (in chrome, not in your window) connected to the process you clicked. One of the process should be the window.opened one... |
Here are the links from http://localhost:9222. |
Have you tried them? |
@IssueHunt has funded $40.00 to this issue.
|
Does electron-debug support BrowserWindowProxy? It seems like BrowserWindowProxy has very limited features and I can't seem to figure out how to debug.
I have an app that opens a proxy window. Kind'a stumped on debugging it.
Thx
The text was updated successfully, but these errors were encountered: