# withBlazorDebuggerBrowser

- Module: [Aspire.Hosting.Blazor](/reference/api/typescript/aspire.hosting.blazor.md)
- Version: `13.6.0-preview.1.26478.8`
- Kind: `method`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/f4c27f2d43ddc1cacd0dd083b30d1fea1cee7a62)

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

```typescript
interface BlazorWasmAppResource {
  // ... omitted for brevity
  withBlazorDebuggerBrowser(browser?: string): BlazorWasmAppResource
}
```

## Parameters

- `browser` (`string`) `optional` `= msedge`

## Returns

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

## Applies to

- [BlazorWasmAppResource](/reference/api/typescript/aspire.hosting.blazor/blazorwasmappresource.md)
