Skip to content

Unable to debug client-side Blazor WebAssembly hosted by ASP.NET Core inside a Docker container #27766

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

Closed
NCC1701M opened this issue Nov 12, 2020 · 4 comments
Labels
area-blazor Includes: Blazor, Razor Components

Comments

@NCC1701M
Copy link

NCC1701M commented Nov 12, 2020

Hi @javiercn

Any progress on #22092 ?

I guess this will be a crucial point for teams using dev containers and considering to switch to blazor web assembly. This could stop them from switching.

Is there another way to debug blazor web assemblies? Maybe using the F12 Devtools? I couldn't see anything there as well.

@javiercn
Copy link
Member

@NCC1701M thanks for contacting us.

This is not something that we've made progress on as far as I'm aware, but @captainsafia will know more.

@blowdart blowdart added the area-blazor Includes: Blazor, Razor Components label Nov 12, 2020
@captainsafia
Copy link
Member

@captainsafia We're planning on shipping this alongside 16.9/.NET 6. If you're interested in this feature, I'd recommend watching the change logs for .NET 6 previews to try out the change once it ships.

We're tracking this in #22587 for VS Code. Closing this in favor of that issue.

@schaveyt
Copy link

Wonder if this issue might fix what I'm run into...

I'm on a a Chromebook and its Linux container installed. Everything has been fairly smooth installing net5.0 and even vscode. I then generated the vanilla blazorwasm project and hit F5. Things compiled successfully and when to vscode went to launch and boom! Omnisharp can't find/launch chrome....cuz it is found in the host environment and not in the linux container.

Thoughts?

@captainsafia
Copy link
Member

@schaveyt Sounds like it! Support for debugging in Docker containers boils down to making sure that the Chrome browser and debugging proxy are launched in the host machine and not in the remote environment.

@ghost ghost locked as resolved and limited conversation to collaborators Dec 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-blazor Includes: Blazor, Razor Components
Projects
None yet
Development

No branches or pull requests

5 participants