From 791257f54b75104741711865d2fe7d02e24e8189 Mon Sep 17 00:00:00 2001 From: Luke Latham <1622880+guardrex@users.noreply.github.com> Date: Thu, 11 Apr 2024 05:07:44 -0400 Subject: [PATCH] Add Debugger support section (#32287) --- aspnetcore/blazor/debug.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/aspnetcore/blazor/debug.md b/aspnetcore/blazor/debug.md index 247885d890..cf619ef70f 100644 --- a/aspnetcore/blazor/debug.md +++ b/aspnetcore/blazor/debug.md @@ -341,6 +341,27 @@ Breakpoints are **not** hit during app startup before the debug proxy is running --- + + +:::moniker range=">= aspnetcore-8.0" + +## Debugger support + +Debugging is enabled for the runtime when debugger support is enabled with `{VALUE}`, where the `{VALUE}` place holder is either `true` or `false`. + +By default, the Blazor framework *disables* debugger support for all non-Debug configurations. To enable debugger support for a non-Debug configuration, add a `` property to the app's project file. + +In the following example, debugger support is enabled for the custom "`DebugCustom`" configuration: + +```xml +true +``` + +For more information, see [Blazor WebAssembly custom debugger configuration (`dotnet/runtime` #96239)](https://github.com/dotnet/runtime/issues/96239). + +:::moniker-end + :::moniker range="< aspnetcore-8.0" ## Debug a hosted Blazor WebAssembly app in an IDE