-
Notifications
You must be signed in to change notification settings - Fork 342
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
Debugging over a remote port occasionally fails #2284
Comments
Does the issue happen if you omit A potential cause for this issue is that the underlying |
If I launch without
Because I wish to debug using my IDE's debugging tools. |
I don't know how to debug a service worker, but assume the process is the same as debugging an MV2 extension, you launch Chrome with |
chrome-launcher uses the remote debugging protocol to interface with Chrome. I'm not sure if that library is designed to support an unexpected second client connection to the remote debugging server. You could try to see if it works by visiting So instead of specifying the port upfront you'd use the port that |
Surprisingly, it does seem to work |
hey @avi12 I am in a similar situation trying to connect VScode debugging tools with Chrome extension but everytime I re-run the Did you run into the same issue? if so, how did you manage to overcome it ? Thank you for your help! |
@sbahir I didn't overcome it |
To make it slightly easier, you could try my hackaround:
Output
|
Is this a feature request or a bug?
A bug report.
What is the current behavior?
web-ext
throws an error and exits (Chrome stays open):What is the expected or desired behavior?
Being able to launch Chrome such that it's listening to debugging, without
web-ext
crashing.Version information (for bug reports)
Note
web-ext
doesn't always crash. It's more like a 50:50.The text was updated successfully, but these errors were encountered: