# withBlazorDebuggerBrowser

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

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)
