# BlazorWasmAppResource.WithBlazorDebuggerBrowser

- Module: [Aspire.Hosting.Blazor](/reference/api/go/aspire.hosting.blazor.md)
- Defined on: [BlazorWasmAppResource](/reference/api/go/aspire.hosting.blazor/blazorwasmappresource.md)
- Version: `17.0.0-preview.1.26567.5`
- Kind: `method`

Configures the browser launched when starting a debug session for the Blazor WebAssembly app. The value is read when the debugger is registered on the gateway, so call this before `WithBlazorClientApp` or `WithBlazorClientApp` attaches the app.

## Definition

```go
type BlazorWasmAppResource interface {
    // ... omitted for brevity
    WithBlazorDebuggerBrowser(options ...*WithBlazorDebuggerBrowserOptions) BlazorWasmAppResource
}
```

## Signature

```go
WithBlazorDebuggerBrowser(options ...*WithBlazorDebuggerBrowserOptions) BlazorWasmAppResource
```

## Parameters

- `options` (`...*WithBlazorDebuggerBrowserOptions`) -- optional settings, see [Options](#options)

## Options

Optional parameters are passed in a trailing `options ...*WithBlazorDebuggerBrowserOptions` argument.

- `Browser` (`*string`) -- The browser to use for debugging. Defaults to `"msedge"`. Supported values include `"msedge"` and `"chrome"`.

## Returns

[`BlazorWasmAppResource`](/reference/api/go/aspire.hosting.blazor/blazorwasmappresource.md)

Returns a handle; failures surface later via `Err()`.

## Defined on

- [BlazorWasmAppResource](/reference/api/go/aspire.hosting.blazor/blazorwasmappresource.md) -- `handle`
