diff --git a/src/mono/wasm/host/DevServer/WebAssemblyNetDebugProxyAppBuilderExtensions.cs b/src/mono/wasm/host/DevServer/WebAssemblyNetDebugProxyAppBuilderExtensions.cs
index c15f8948b2e353..a1430cfa054fae 100644
--- a/src/mono/wasm/host/DevServer/WebAssemblyNetDebugProxyAppBuilderExtensions.cs
+++ b/src/mono/wasm/host/DevServer/WebAssemblyNetDebugProxyAppBuilderExtensions.cs
@@ -333,6 +333,9 @@ public async Task Display(HttpContext context)
var debuggerTabsListUrl = $"{_browserHost}/json";
IEnumerable
- Could not get a list of browser tabs from
Unable to find debuggable browser tab
{debuggerTabsListUrl}.
+ Could not get a list of browser tabs from {debuggerTabsListUrlEncoded}.
Ensure your browser is running with debugging enabled.
Resolution
If you are using Google Chrome or Chromium for your development, follow these instructions:
- {GetLaunchChromeInstructions(targetApplicationUrl.ToString())}
+ {GetLaunchChromeInstructions(targetApplicationUrlEncoded)}
The list of targets returned by {WebUtility.HtmlEncode(debuggerTabsListUrl)} contains no entries{suffix}.
"); + : $" matching the URL {targetApplicationUrlEncoded}"; + await context.Response.WriteAsync($"The list of targets returned by {debuggerTabsListUrlEncoded} contains no entries{suffix}.
"); await context.Response.WriteAsync("Make sure your browser is displaying the target application.
"); } else