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

Debugging Blazor Server running in a dev container (WSL) #58151

Closed
1 task done
TalonZA opened this issue Sep 30, 2024 · 4 comments
Closed
1 task done

Debugging Blazor Server running in a dev container (WSL) #58151

TalonZA opened this issue Sep 30, 2024 · 4 comments
Labels
area-blazor Includes: Blazor, Razor Components enhancement This issue represents an ask for new feature or an enhancement to an existing one feature-blazor-debugging This issue is related to debugging of Blazor WebAssembly apps feature-blazor-server Needs: Author Feedback The author of this issue needs to respond in order for us to continue investigating this issue. Status: No Recent Activity

Comments

@TalonZA
Copy link

TalonZA commented Sep 30, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

My company has remove all docker instances from all developer machines due to licensing costs.

We are limited to using docker on WSL for our development. I have been a massive advocate for Blazor in my organisation and now that I have developed my app, the organisation has asked me to containerize it and get it ready for cloud.

It was a HUGE surprise to find that debugging a container is not available for Blazor. My specific request is for Blazor Server, I know there is another request for Blazor WASM here #37565

This is vitally important for me else I need to consider removing the Blazor UI from my application and replacing it with something else.

Describe the solution you'd like

In Visual Studio, I'd like to be able to debug my application in WSL. When I run my application, my breakpoints need to work as it would when I am running locally. I know it works with other standard .net applications.

Additional context

No response

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-blazor Includes: Blazor, Razor Components label Sep 30, 2024
@danroth27 danroth27 changed the title Debugging Blazor Servier running in a dev container (WSL) Debugging Blazor Server running in a dev container (WSL) Sep 30, 2024
@mkArtakMSFT
Copy link
Member

mkArtakMSFT commented Sep 30, 2024

Thanks for detailed explanation of the value this will provide to your company. We'll take into consideration your input for .NET 10 planning.

@mkArtakMSFT mkArtakMSFT closed this as not planned Won't fix, can't repro, duplicate, stale Sep 30, 2024
@mkArtakMSFT mkArtakMSFT reopened this Sep 30, 2024
@mkArtakMSFT mkArtakMSFT added feature-blazor-debugging This issue is related to debugging of Blazor WebAssembly apps feature-blazor-server labels Sep 30, 2024
@mkArtakMSFT mkArtakMSFT added this to the .NET 10 Planning milestone Sep 30, 2024
@mkArtakMSFT mkArtakMSFT added the enhancement This issue represents an ask for new feature or an enhancement to an existing one label Sep 30, 2024
@danroth27
Copy link
Member

@TalonZA Can you please walk me through how you tried running and debugging your Blazor app in WSL?. I tried creating a default Blazor Web App with .NET 8 and VS2022 17.11 and running it in WSL using VS and I was able to debug without issue:

msedge_YiYIXeIBbu

@danroth27 danroth27 added the Needs: Author Feedback The author of this issue needs to respond in order for us to continue investigating this issue. label Oct 7, 2024
Copy link
Contributor

Hi @TalonZA. We have added the "Needs: Author Feedback" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

Copy link
Contributor

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.

See our Issue Management Policies for more information.

@dotnet-policy-service dotnet-policy-service bot removed this from the .NET 10 Planning milestone Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-blazor Includes: Blazor, Razor Components enhancement This issue represents an ask for new feature or an enhancement to an existing one feature-blazor-debugging This issue is related to debugging of Blazor WebAssembly apps feature-blazor-server Needs: Author Feedback The author of this issue needs to respond in order for us to continue investigating this issue. Status: No Recent Activity
Projects
None yet
Development

No branches or pull requests

3 participants