No description
  • CSS 51.2%
  • HTML 35.4%
  • JavaScript 6.8%
  • C# 6.6%
Find a file
2026-03-26 12:06:19 +01:00
BlazorDebugDemo.Server formatting 2026-03-26 12:06:19 +01:00
BlazorDebugDemo.Shared formatting 2026-03-26 12:06:19 +01:00
BlazorDebugDemo.WASM formatting 2026-03-26 12:06:19 +01:00
.gitignore init 2026-03-26 09:52:33 +01:00
BlazorDebugDemo.sln init 2026-03-26 09:52:33 +01:00
README.md update readme 2026-03-26 10:55:12 +01:00

nvim + C#: debugging blazor WASM projects

Why can't we just debug from within neovim?

netcoredbg Doesn't work since the WASM is running in the browser and netcoredbg can't attach to it.

how to debug in the browser

  1. wasm project > dotnet run -c Debug
  2. navigate to page (chrome) > as it loads: alt+shift+d (make sure the debugging proxy is running: chromium --remote-debugging-port=9222 --user-data-dir=/tmp/blazor-chrome-debug)
  3. got to file:// > your .cs file
  4. set break point
  5. go to tab in question, F5

In the end it should look something like this