diff --git a/src/MobileBlazor/mauiapp/MauiProgram.cs b/src/MobileBlazor/mauiapp/MauiProgram.cs index 5bf77f8..524fdf4 100644 --- a/src/MobileBlazor/mauiapp/MauiProgram.cs +++ b/src/MobileBlazor/mauiapp/MauiProgram.cs @@ -37,6 +37,10 @@ public static class MauiProgram builder.Services.AddScoped(); builder.Services.AddScoped(sp => sp.GetRequiredService().State); +#if DEBUG + builder.Services.AddBlazorWebViewDeveloperTools(); +#endif + return builder.Build(); } }