4

This project is Blazorwasm -- hosted.

I cannot click stop or restart debugger tab. I have to reopen VS Code for work again and I cannot debug code in VS Code. I cannot set breakpoint for check. I just can run from dotnet run or dotnet watch run How to resolve this problem.

enter image description here

This is my launch.json. Is this correct?

{ "version": "0.2.0", "configurations": [ { "name": "Launch and Debug Standalone Blazor WebAssembly App", "type": "blazorwasm", "request": "launch", "cwd": "${workspaceFolder}/Server" } ] } 
4
  • I'm not sure which browser you're using, but see my answer here for working config. Commented Apr 28, 2022 at 3:37
  • I have tried to fix my browser, reinstall .Netcore, reinstall vscode, reinstall vscode extension such as omnisharp,Microsoft.AspNetCore.Razor.VsCode.BlazorWasmDebuggingExtension Commented Apr 30, 2022 at 9:30
  • I feel your pain man, it's very buggy right now. I've had all the same problems. The solution I posted works for me, but maybe I was just lucky. Good luck! Commented Apr 30, 2022 at 10:32
  • There are an Issue on GitHub Commented Oct 3, 2022 at 16:09

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.