-
Notifications
You must be signed in to change notification settings - Fork 122
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
Continue the debuggee after detaching to Chrome #381
Conversation
is it correct fix or ad-hoc fix? |
I think it's the correct fix. When the opcode is 8, it means a connection is closed. FYI: https://datatracker.ietf.org/doc/html/rfc6455#section-5.2 |
Ok, another point is, exiting is correct or not. For example, it is one option to continue the debuggee. |
I see. That may be useful. In node.js, if a tab is closed, debuggee also quit. That's why I thought that finishing it is the correct way, though. |
There are 3 options: (1) exit the debuggee too To debug a server process, (2) seems nice and after detaching, it is convenient if we can attach again. |
All right, let me implement it. Thanks 👍 |
Updated. |
Description
Currently, when a tab in Chrome DevTools is closed, the error occurs such as:
Before
After