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

Would like a way to open a separate devtools window instance for each worker #19583

Open
3 tasks done
michtsu opened this issue Aug 1, 2019 · 0 comments
Open
3 tasks done

Comments

@michtsu
Copy link
Contributor

michtsu commented Aug 1, 2019

Preflight Checklist

  • I have read the Contributing Guidelines for this project.
  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Problem Description

In my Electron app, I create a shared worker. When I have the devtools attached to the main renderer, I cannot debug the shared worker, and vice versa. It seems there can be only 1 instance of the devtools window at a time. This makes it hard to debug an operation that starts in the main renderer and continues in the worker.

Proposed Solution

Proposal is to open a new devtools windows for each worker. So there can be a devtools window attached to the main renderer, and separate devtools windows for any workers, all debuggable at the same time.

Alternatives Considered

This kind of debugging can be achieved by launching Electron with the --remote-debugging-port switch, and opening a url to debug workers as a workaround.

Additional Information

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

3 participants