-
Notifications
You must be signed in to change notification settings - Fork 37.7k
Description
Issue Type: Bug
Unable to find debuggable browser tab
Could not get a list of browser tabs from http://127.0.0.1:9222/json. Ensure your browser is running with debugging enabled.
Resolution
If you are using Google Chrome for your development, follow these instructions:
Press Win+R and enter the following:
chrome --remote-debugging-port=9222 --user-data-dir="C:\Users\Tom\AppData\Local\Temp\blazor-chrome-debug" https://localhost:5001/counter
If you are using Microsoft Edge (80+) for your development, follow these instructions:
Press Win+R and enter the following:
msedge --remote-debugging-port=9222 --user-data-dir="C:\Users\Tom\AppData\Local\Temp\blazor-edge-debug" --no-first-run https://localhost:5001/counter
This should launch a new browser window with debugging enabled..
Underlying exception:
System.Net.Http.HttpRequestException: Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte.
---> System.Net.Sockets.SocketException (10061): Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte.
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)
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)
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(Task1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts) at System.Net.Http.HttpClient.GetStringAsyncCore(Task1 getTask)
at Microsoft.AspNetCore.Components.WebAssembly.DebugProxy.TargetPickerUi.GetOpenedBrowserTabs()
at Microsoft.AspNetCore.Components.WebAssembly.DebugProxy.TargetPickerUi.Display(HttpContext context)
VS Code version: Code 1.46.0 (a5d1cc2, 2020-06-10T09:03:20.462Z)
OS version: Windows_NT x64 10.0.18362
System Info
| Item | Value |
|---|---|
| CPUs | AMD Ryzen 5 2600 Six-Core Processor (12 x 3400) |
| GPU Status | 2d_canvas: enabled flash_3d: enabled flash_stage3d: enabled flash_stage3d_baseline: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on oop_rasterization: disabled_off protected_video_decode: unavailable_off rasterization: enabled skia_renderer: disabled_off_ok video_decode: enabled viz_display_compositor: enabled_on viz_hit_test_surface_layer: disabled_off_ok webgl: enabled webgl2: enabled |
| Load (avg) | undefined |
| Memory (System) | 15.95GB (10.63GB free) |
| Process Argv | |
| Screen Reader | no |
| VM | 0% |
Extensions (40)
| Extension | Author (truncated) | Version |
|---|---|---|
| Bookmarks | ale | 11.3.0 |
| project-manager | ale | 11.0.1 |
| vscode-intelephense-client | bme | 1.4.1 |
| gitignore | cod | 0.6.0 |
| git-extension-pack | don | 0.1.3 |
| githistory | don | 0.6.5 |
| gitlens | eam | 10.2.2 |
| php-debug | fel | 1.13.0 |
| php-intellisense | fel | 2.3.14 |
| php-pack | fel | 1.0.2 |
| auto-close-tag | for | 0.5.7 |
| auto-rename-tag | for | 0.1.3 |
| auto-using | Fud | 0.7.15 |
| kotlin | fwc | 0.2.14 |
| todo-tree | Gru | 0.0.177 |
| mysql-syntax | jak | 1.3.1 |
| csharpextensions | jch | 1.3.1 |
| csharpsortusings | jon | 0.0.3 |
| docomment | k-- | 0.1.11 |
| Kotlin | mat | 1.7.1 |
| git-graph | mhu | 1.24.0 |
| vscode-language-pack-de | MS- | 1.46.3 |
| csharp | ms- | 1.22.1 |
| js-debug-nightly | ms- | 2020.6.1617 |
| vscode-typescript-tslint-plugin | ms- | 1.2.3 |
| debugger-for-chrome | msj | 4.12.8 |
| vscode-nuget-gallery | pat | 0.0.19 |
| java | red | 0.62.0 |
| highlight-matching-tag | vin | 0.9.9 |
| vscodeintellicode | Vis | 1.2.8 |
| apexsql-power-tools | vs- | 2020.1.17 |
| vscode-java-debug | vsc | 0.26.0 |
| vscode-java-dependency | vsc | 0.10.2 |
| vscode-java-pack | vsc | 0.9.1 |
| vscode-java-test | vsc | 0.23.0 |
| vscode-maven | vsc | 0.22.0 |
| vscode-icons | vsc | 10.1.1 |
| zoombar-vscode | wra | 1.2.1 |
| json | Zai | 1.0.4 |
| vscode-open-in-github | ziy | 1.3.6 |