withBrowserDebugger
Method
interface BunAppResource { // ... omitted for brevity withBrowserDebugger(browser?: string): JavaScriptAppResource;}Signature
method
withBrowserDebugger builderConfigures a browser debugger for the JavaScript application resource, enabling browser-based debugging through a child resource that launches when the parent application is ready.
withBrowserDebugger(browser?: string): JavaScriptAppResourceParameters
browserstringoptional= msedgeThe browser to use for debugging. Defaults to `"msedge"`. Supported values include `"msedge"` and `"chrome"`.Returns
JavaScriptAppResource Applies to
This method applies to the following types: