-
Notifications
You must be signed in to change notification settings - Fork 280
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
Unable to attach to browser on macos #697
Comments
Yep same here, had to downgrade. |
You can also set cc @connor4312 |
Thanks for the issue! I notice you're using a static userDataDir. Did you already have an instance of Chrome opened from the user data directory? In that case we will be unable to attach to it. |
I'm seeing this as well. |
Please collect a trace log using these instructions:
|
Here is the trace log for the error that I got. I hope it can help solve this issue. It might be that I'm loading in some weird cdns in my HTML template. Thanks to @roblourens for the workaround. |
@arnotes can you grab a trace log using these instructions? https://github.com/microsoft/vscode-chrome-debug/issues/1023#issuecomment-658423848 |
@jeiea Try changing the
Even though It doesn't open with your chrome default profile, it is something. |
It had happened with me too, as shown by @arnotes, here is my log record |
@AkashManiar please include the file directly. That tool is just browser-side, linking to it doesn't show me what you opened with it 🙂 |
I'm calling this 'fixed' with microsoft/vscode#103083 (comment), since that's by far the most common case where this issue happens -- aside from just an attach config where the url or filter doesn't match. If you continue to run into this problem:
|
Then same userdatadir won't be allowed? It's so sad I can't do the thing worked well with the previous version... |
It is allow if and only if you choose to launch chrome with a |
I have an open chrome on the Mac Os docker. I clicked on it and pressed cmd+Q. Afterwards vscode could reopen Chrome. |
"trace": true
in launch config): vscode-debugadapter-0.json.gz (I know it's broken, but I tried twice.)What I did
launch.json
with the followingWhat I expected
Normal launch
What I got
Additional context
4.12.8 doesn't have this problem. It may be a regression.
The text was updated successfully, but these errors were encountered: