From 0e00861505126081dc92468fe2a2b96f2fc7783f Mon Sep 17 00:00:00 2001 From: Luke Latham <1622880+guardrex@users.noreply.github.com> Date: Wed, 3 Aug 2022 13:54:09 -0500 Subject: [PATCH 1/4] WASM debug default browser is going to Edge --- aspnetcore/blazor/tooling.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/aspnetcore/blazor/tooling.md b/aspnetcore/blazor/tooling.md index 8213d4ab846e..cb7f79af834e 100644 --- a/aspnetcore/blazor/tooling.md +++ b/aspnetcore/blazor/tooling.md @@ -1002,18 +1002,18 @@ Use the [.NET command-line interface (CLI)](/dotnet/core/tools/) to execute comm * The `{SERVER APP FOLDER}` placeholder is the **`Server`** project's folder, typically `Server`. * The `{URL}` placeholder is the app's URL, which is specified in the app's `Properties/launchSettings.json` file in the `applicationUrl` property. - If Microsoft Edge is used and Google Chrome isn't installed on the system, add an additional property of `"browser": "edge"` to the configuration. + If Google Chrome is preferred over Microsoft Edge, update or add an additional property of `"browser": "chrome"` to the configuration. The follow example `.vscode/launch.json` file: * Sets the current working directory to the `Server` folder. * Sets the URL for the app to `https://localhost:7268`. - * Changes the default browser from Google Chrome, which is the default browser, to Microsoft Edge. + * Changes the default browser from Microsoft Edge, which is the default browser, to Google Chrome. ```json "cwd": "${workspaceFolder}/Server", "url": "https://localhost:7268", - "browser": "edge" + "browser": "chrome" ``` The complete `.vscode/launch.json` file: @@ -1028,7 +1028,7 @@ Use the [.NET command-line interface (CLI)](/dotnet/core/tools/) to execute comm "request": "launch", "cwd": "${workspaceFolder}/Server", "url": "https://localhost:7268", - "browser": "edge" + "browser": "chrome" } ] } From 3ce6a3a0984a1815ae37be9b37112bbcee3e5003 Mon Sep 17 00:00:00 2001 From: Luke Latham <1622880+guardrex@users.noreply.github.com> Date: Wed, 3 Aug 2022 14:00:20 -0500 Subject: [PATCH 2/4] Updates --- aspnetcore/blazor/debug.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnetcore/blazor/debug.md b/aspnetcore/blazor/debug.md index f0d11785f572..52759a4d4c91 100644 --- a/aspnetcore/blazor/debug.md +++ b/aspnetcore/blazor/debug.md @@ -1518,7 +1518,7 @@ The following launch configuration options are supported for the `blazorwasm` de | --------- | ----------- | | `request` | Use `launch` to launch and attach a debugging session to a Blazor WebAssembly app or `attach` to attach a debugging session to an already-running app. | | `url` | The URL to open in the browser when debugging. Defaults to `https://localhost:5001`. If the app is running at a different URL, an `about:blank` tab launches in the browser. | -| `browser` | The browser to launch for the debugging session. Set to `edge` or `chrome`. Defaults to `chrome`. | +| `browser` | The browser to launch for the debugging session. Set to `edge` or `chrome`. Defaults to `edge`. | | `trace` | Used to generate logs from the JS debugger. Set to `true` to generate logs. | | `hosted` | Must be set to `true` if launching and debugging a hosted Blazor WebAssembly app. | | `webRoot` | Specifies the absolute path of the web server. Should be set if an app is served from a sub-route. | From e88c646ed6df58c810cfb18a8539e4acbd7af4be Mon Sep 17 00:00:00 2001 From: Luke Latham <1622880+guardrex@users.noreply.github.com> Date: Wed, 3 Aug 2022 14:08:20 -0500 Subject: [PATCH 3/4] Updates --- aspnetcore/blazor/tooling.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aspnetcore/blazor/tooling.md b/aspnetcore/blazor/tooling.md index cb7f79af834e..d14c3cd3d306 100644 --- a/aspnetcore/blazor/tooling.md +++ b/aspnetcore/blazor/tooling.md @@ -154,7 +154,7 @@ Use the [.NET command-line interface (CLI)](/dotnet/core/tools/) to execute comm If Microsoft Edge is used and Google Chrome isn't installed on the system, add an additional property of `"browser": "edge"` to the configuration. - The follow example `.vscode/launch.json` file: + The following example `.vscode/launch.json` file: * Sets the current working directory to the `Server` folder. * Sets the URL for the app to `https://localhost:7268`. @@ -1004,7 +1004,7 @@ Use the [.NET command-line interface (CLI)](/dotnet/core/tools/) to execute comm If Google Chrome is preferred over Microsoft Edge, update or add an additional property of `"browser": "chrome"` to the configuration. - The follow example `.vscode/launch.json` file: + The following example `.vscode/launch.json` file: * Sets the current working directory to the `Server` folder. * Sets the URL for the app to `https://localhost:7268`. From 80138cded5073af1ed01fc4fccebd0d7d1949b51 Mon Sep 17 00:00:00 2001 From: Luke Latham <1622880+guardrex@users.noreply.github.com> Date: Wed, 3 Aug 2022 14:09:11 -0500 Subject: [PATCH 4/4] Updates --- aspnetcore/blazor/tooling.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aspnetcore/blazor/tooling.md b/aspnetcore/blazor/tooling.md index d14c3cd3d306..625842530410 100644 --- a/aspnetcore/blazor/tooling.md +++ b/aspnetcore/blazor/tooling.md @@ -158,7 +158,7 @@ Use the [.NET command-line interface (CLI)](/dotnet/core/tools/) to execute comm * Sets the current working directory to the `Server` folder. * Sets the URL for the app to `https://localhost:7268`. - * Changes the default browser from Google Chrome, which is the default browser, to Microsoft Edge. + * Changes the default browser from Google Chrome to Microsoft Edge. ```json "cwd": "${workspaceFolder}/Server", @@ -1008,7 +1008,7 @@ Use the [.NET command-line interface (CLI)](/dotnet/core/tools/) to execute comm * Sets the current working directory to the `Server` folder. * Sets the URL for the app to `https://localhost:7268`. - * Changes the default browser from Microsoft Edge, which is the default browser, to Google Chrome. + * Changes the default browser from Microsoft Edge to Google Chrome. ```json "cwd": "${workspaceFolder}/Server",