diff --git a/aspnetcore/blazor/debug.md b/aspnetcore/blazor/debug.md index b3d3b1b7a1..c605b36e28 100644 --- a/aspnetcore/blazor/debug.md +++ b/aspnetcore/blazor/debug.md @@ -1538,6 +1538,9 @@ The **:::no-loc text="Server":::** project's `Properties/launchSettings.json` fi } ``` +> [!NOTE] +> When the app is launched from the :::no-loc text="Server"::: project, only the `Properties/launchSettings.json` file in the :::no-loc text="Server"::: project is used. The `Properties/launchSettings.json` file in the :::no-loc text="Client"::: project is ***not*** used. + ## Attach to an existing debugging session To attach to a running Blazor app, create a `.vscode/launch.json` file with the following configuration. Replace the `{URL}` placeholder with the URL where the app is running: diff --git a/aspnetcore/blazor/tooling.md b/aspnetcore/blazor/tooling.md index 4d4622d4af..2927bba099 100644 --- a/aspnetcore/blazor/tooling.md +++ b/aspnetcore/blazor/tooling.md @@ -47,6 +47,8 @@ For more information on trusting the ASP.NET Core HTTPS development certificate, > [!IMPORTANT] > When executing a hosted Blazor WebAssembly app, run the app from the solution's **:::no-loc text="Server":::** project. +> +> When the app is launched, only the `Properties/launchSettings.json` file in the :::no-loc text="Server"::: project is used. :::zone-end @@ -250,6 +252,8 @@ Use the [.NET command-line interface (CLI)](/dotnet/core/tools/) to execute comm > [!IMPORTANT] > When executing a hosted Blazor WebAssembly app, run the app from the solution's **:::no-loc text="Server":::** project. + > + > When the app is launched, only the `Properties/launchSettings.json` file in the :::no-loc text="Server"::: project is used. :::moniker range=">= aspnetcore-6.0" @@ -446,6 +450,8 @@ If a prompt appears to trust the development certificate, trust the certificate > [!IMPORTANT] > When executing a hosted Blazor WebAssembly app, run the app from the solution's **:::no-loc text="Server":::** project. +> +> When the app is launched, only the `Properties/launchSettings.json` file in the :::no-loc text="Server"::: project is used. :::zone-end