Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion aspnetcore/blazor/debug.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
Expand Down
14 changes: 7 additions & 7 deletions aspnetcore/blazor/tooling.md
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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:
Expand All @@ -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"
}
]
}
Expand Down