From 46c33f949a7df9ddbc4ef4cb30e33f97f4249f71 Mon Sep 17 00:00:00 2001 From: Luke Latham <1622880+guardrex@users.noreply.github.com> Date: Wed, 3 Aug 2022 14:14:56 -0500 Subject: [PATCH] WASM debug default browser is going to Edge (#26621) --- aspnetcore/blazor/debug.md | 2 +- aspnetcore/blazor/tooling.md | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/aspnetcore/blazor/debug.md b/aspnetcore/blazor/debug.md index f0d11785f5..52759a4d4c 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. | diff --git a/aspnetcore/blazor/tooling.md b/aspnetcore/blazor/tooling.md index 8213d4ab84..6258425304 100644 --- a/aspnetcore/blazor/tooling.md +++ b/aspnetcore/blazor/tooling.md @@ -154,11 +154,11 @@ 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`. - * 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", @@ -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: + 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`. - * Changes the default browser from Google Chrome, which is the default browser, to Microsoft Edge. + * Changes the default browser from Microsoft Edge 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" } ] }