Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithBlazorDebuggerBrowser

Method
📦 Aspire.Hosting.Blazor v17.0.0-preview.1.26565.2
func (BlazorWasmAppResource) WithBlazorDebuggerBrowser(options ...*WithBlazorDebuggerBrowserOptions) BlazorWasmAppResource

Signature

methodWithBlazorDebuggerBrowserbuilder
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.
WithBlazorDebuggerBrowser(options ...*WithBlazorDebuggerBrowserOptions) BlazorWasmAppResource
options...*WithBlazorDebuggerBrowserOptionsOptional settings, described under Options.

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

Browser*stringThe browser to use for debugging. Defaults to "msedge". Supported values include "msedge" and "chrome".
BlazorWasmAppResource

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

Applies to

This method applies to the following types: