question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to launch browser

See original GitHub issue

I get this error when I try to launch debug from vscode with the new support for one-step debugging for Blazor #1885

Unable to launch browser: "Could not open wss://localhost:5001/_framework/debug/ws-proxy?browser=ws%3A%2F%2F127.0.0.1%3A53267%2Fdevtools%2Fbrowser%2F53f91446-8e68-4407-95d8-d9c70558ff11": timeout after 30000ms

If I delete everything from .vscode folder I get the same error. I have the the latest Nightly JavaScript Debugger and the latest C# Extension.

Environment information

VSCode version: 1.46.0-insider C# Extension: 1.22.0 JavaScript Debugger (Nightly): v2020.5.2917

Dotnet Information .NET SDK (reflecting any global.json): Version: 5.0.100-preview.4.20258.7 Commit: 65f0fc2cad

Runtime Environment: OS Name: Mac OS X OS Version: 10.15 OS Platform: Darwin RID: osx.10.15-x64 Base Path: /usr/local/share/dotnet/sdk/5.0.100-preview.4.20258.7/

Host (useful for support): Version: 5.0.0-preview.4.20251.6 Commit: 47ec733ba7

.NET SDKs installed: 5.0.100-preview.4.20258.7 [/usr/local/share/dotnet/sdk]

.NET runtimes installed: Microsoft.AspNetCore.App 5.0.0-preview.4.20257.10 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 5.0.0-preview.4.20251.6 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ofradescommented, Jun 2, 2020

Yes, that’s it! Thanks.

0reactions
mahfuzmrcommented, Mar 30, 2022

In my case, it was one package missing :Microsoft.AspNetCore.Components.WebAssembly.DevServer Happy coding.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Visual Studio Code - Unable to launch Browser - Stack Overflow
Try installing it, or providing an absolute path to the browser in the "runtimeExecutable" in your launch. json. My browser is edge.
Read more >
VSCode does not launch browser · Issue #6819 · microsoft/AL
When I try to debug or publish my app, browser isn't lauched: Error: Could not launch the Web browser. Please ensure that:.
Read more >
v16.6.2 - Launch Browser Not working - Visual Studio Feedback
I have a “launchBrowser”:true in my launchSettings.json, but the browser is not opened when I run my Web API project with Swagger configured...
Read more >
Failed to launch the default browser or the browser specified ...
Failed to launch the default browser or the browser specified under the "Directories" tab of the Settings dialog box of the MegaWizard Plug-In...
Read more >
Unable to launch browser from shell - it opens VSCode instead
You forgot the http:// which defines that what you are browsing is a website instead of a file. when you type "browse" alone...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found