Skip to content

Conversation

@guardrex
Copy link
Collaborator

@guardrex guardrex commented Jul 8, 2021

Fixes #22443
Addresses #22045

Looks like we just need to version out the line that we added earlier ...

* Debug in non-local scenarios (for example, [Windows Subsystem for Linux (WSL)](/windows/wsl/) or [Visual Studio Codespaces](/visualstudio/codespaces/overview/what-is-vsonline)).

Note that the whole list must be versioned: This docs feature will 💥 if you try to do it on a single listitem.

Is there anything else for docs to cover Add support for launching DebugProxy from blazorwasm debug type in VS Code (dotnet/aspnetcore #22587)?

@guardrex guardrex mentioned this pull request Jul 8, 2021
41 tasks
@guardrex guardrex requested a review from captainsafia July 8, 2021 14:28

* Break on unhandled exceptions.
* Hit breakpoints during app startup before the debug proxy is running. This includes breakpoints in `Program.Main` (`Program.cs`) and breakpoints in the [`OnInitialized{Async}` lifecycle methods](xref:blazor/components/lifecycle#component-initialization-oninitializedasync) of components that are loaded by the first page requested from the app.
* Debug in non-local scenarios (for example, [Windows Subsystem for Linux (WSL)](/windows/wsl/) or [Visual Studio Codespaces](/visualstudio/codespaces/overview/what-is-vsonline)).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't support debugging remotely in Visual Studio yet.

Also, there's a bug that prevents the WSL/VS Code scenario from working fully so I would omit this for now.

Copy link
Collaborator Author

@guardrex guardrex Jul 12, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😕 ... That's a bit confusing. I can't grok what "yet" and "for now" mean WRT today versus at GA. We can leave it if at GA things will work and this content will be accurate at that time.

The lead-in for this list is For now, you can't:. I assumed from the PU PR that as of 6.0, one can ...

Debug in non-local scenarios (for example, [Windows Subsystem for Linux (WSL)](/windows/wsl/) or [Visual Studio Codespaces](/visualstudio/codespaces/overview/what-is-vsonline)).

Therefore, this line will only appear in content for <6.0.

If I still fail to grasp what's changing, you'll have to explain it out a bit more.

... or I suppose you could edit the PR directly to make it right. It might be faster than trying to explain.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, sorry for the confusion.

I assumed from the PU PR that as of 6.0, one can .

Nope this is not true. We can basically close this PR.

Context: we pushed the change to support remote debugging in .NET 6 Preview 1. It worked for a while then a downstream component changes their API in .NET 6 Preview 3 and it has be broken since then. There are no plans to fix for .NET 6 at the moment.

Copy link
Collaborator Author

@guardrex guardrex Jul 12, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah ... gotcha ... and I'll note this on the 6.0 tracking issue as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Launch DebugProxy from Blazor WASM (blazorwasm) debug type in VSC

3 participants