-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blazor WebAssembly debugger cannot launch an Edge version other than stable #30879
Comments
@DL444 You can try passing the
|
@captainsafia Unfortunately |
@DL444 Can you share your entire |
@captainsafia {
"version": "0.2.0",
"configurations": [
{
"name": "Backend",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "Build Backend",
"program": "${workspaceFolder}/Solution.Backend/bin/Debug/net5.0/Solution.Backend.dll",
"args": [],
"cwd": "${workspaceFolder}/Solution.Backend",
"console": "internalConsole",
"stopAtEntry": false
},
{
"name": "Frontend",
"type": "blazorwasm",
"request": "launch",
"preLaunchTask": "Build Frontend",
"program": "${workspaceFolder}/Solution.Web/bin/Debug/net5.0/Solution.Web.dll",
"cwd": "${workspaceFolder}/Solution.Web",
"serverReadyAction": {
"action": "openExternally",
"pattern": "\\bNow listening on:\\s+(https?://\\S+)"
},
"browser": "edge",
"runtimeExecutable": "dev",
"browserConfig": {
"runtimeExecutable": "dev"
},
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach",
"processId": "${command:pickProcess}"
}
]
}
However, this configuration also generates the same warning. This one is generated by VSC from scratch. {
"version": "0.2.0",
"configurations": [
{
"name": "Launch and Debug Standalone Blazor WebAssembly App",
"type": "blazorwasm",
"request": "launch",
"cwd": "${workspaceFolder}",
"browser": "edge",
"runtimeExecutable": "dev",
"browserConfig": {
"runtimeExecutable": "dev"
}
}
]
} |
This issue has been resolved and has not had any activity for 1 day. It will be closed for housekeeping purposes. See our Issue Management Policies for more information. |
Describe the bug
Blazor WebAssembly debugger cannot launch an Edge version other than stable because the launch.json config for
blazorwasm
does not supportruntimeExecutable
property.When you try to launch the debugger, the following message is shown:
Adding
runtimeExecutable
in launch.json results in VSC reporting the following error, and the problem is not mitigated.To Reproduce
On a machine with dev/canary and no stable version of Microsoft Edge:
Create a ASP.NET Blazor WebAssembly project and open it in VSC. Or use this repro repo and skip to step 3.
Create the default Blazor WebAssembly run task, which can be something like this:
Start the debugger from VSC.
The web app starts but browser does not launch. The error message shows up a while later.
Further technical details
dotnet --info
:The text was updated successfully, but these errors were encountered: