C#C
C#13mo 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}"
}

but localhost has nothing to return, no c# reference in that config anyway...
Was this page helpful?