C
C#2w ago
skyslide22

vscode c# debugging not working

i have a simple dotnet new blazor -int webassembly -n testapp app and i can not get it to launch with the c# devkit debugger it says i need to install chrome or edge, i dont want spyware in another app, exactly like above, i can just press f5 and it debugs fine, server starts, localhost runs. this app has no task/launch.json files, i am wondering why that one even runs? i want to use brave, that browser starts when using
{
"type": "chrome",
"request": "launch",
"name": "Brave",
"runtimeExecutable": "/Applications/Brave Browser.app/Contents/MacOS/Brave Browser",
"userDataDir": true,
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}"
}
{
"type": "chrome",
"request": "launch",
"name": "Brave",
"runtimeExecutable": "/Applications/Brave Browser.app/Contents/MacOS/Brave Browser",
"userDataDir": true,
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}"
}
but localhost has nothing to return, no c# reference in that config anyway...
1 Reply
skyslide22
skyslide22OP2w ago
fixed server project/properties/launchsettings.json remove this from the profile "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
Want results from more Discord servers?
Add your server