title: Unable to find debuggable browser tab
body: <p>I am working with a Blazor wasm project. I have been trying to start the debugger browser dev tools with blazor and i keep getting an error </p>
  
  <p>I hit </p>
  
  <blockquote>
    <p>Debugging hotkey: Shift+Alt+D (when application has focus)</p>
  </blockquote>
  
  <p>Which gives me</p>
  
  <p>Unable to find debuggable browser tab
  Could not get a list of browser tabs from <a href="http://localhost:9222/json" rel="nofollow noreferrer">http://localhost:9222/json</a>. Ensure Chrome is running with debugging enabled.</p>
  
  <p>Resolution
  Close all Chrome instances, then press Win+R and enter the following:</p>
  
  <p>"%programfiles(x86)%\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222 <a href="http://localhost:52878/" rel="nofollow noreferrer">http://localhost:52878/</a></p>
  
  <p>... then use that new tab for debugging.</p>
  
  <blockquote>
    <p>Underlying exception: System.Net.Http.HttpRequestException: No
    connection could be made because the target machine actively refused
    it.  ---> System.Net.Sockets.SocketException (10061): No connection
    could be made because the target machine actively refused it.    at
    System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port,
    CancellationToken cancellationToken)    --- End of inner exception
    stack trace ---    at
    System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port,
    CancellationToken cancellationToken)    at
    System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage
    request, Boolean allowHttp2, CancellationToken cancellationToken)<br>
    at
    System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage
    request, CancellationToken cancellationToken)    at
    System.Net.Http.HttpConnectionPool.GetHttpConnectionAsync(HttpRequestMessage
    request, CancellationToken cancellationToken)    at
    System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage
    request, Boolean doRequestAuth, CancellationToken cancellationToken)<br>
    at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage
    request, CancellationToken cancellationToken)    at
    System.Net.Http.DiagnosticsHandler.SendAsync(HttpRequestMessage
    request, CancellationToken cancellationToken)    at
    System.Net.Http.HttpClient.FinishSendAsyncUnbuffered(Task<code>1 sendTask,
    HttpRequestMessage request, CancellationTokenSource cts, Boolean
    disposeCts)    at System.Net.Http.HttpClient.GetStringAsyncCore(Task</code>1
    getTask)    at
    Microsoft.AspNetCore.Builder.BlazorMonoDebugProxyAppBuilderExtensions.GetOpenedBrowserTabs(String
    debuggerHost)    at
    Microsoft.AspNetCore.Builder.BlazorMonoDebugProxyAppBuilderExtensions.DebugHome(HttpContext
    context)</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/E3Kjy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/E3Kjy.png" alt=""></a></p>
  
  <p>I shut down all chome browser and run the command instructed but it doesnt help i get the same error</p>
  
  <p>I suspect the issue is related to the fact that as soon as chrome starts it spawns a large number of other chromes i can see them <a href="https://i.stack.imgur.com/WgwPF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WgwPF.png" alt="enter image description here"></a> </p>
  
  <p>I tried killing them all so there was no chrome running then firing off the command that didnt work either because again i ended up with like 10 chromes running.</p>
  
  <p>How do you find the debugged browser tab with blazor?</p>