visual studio – No compatible code running on thread when debugging Blazor WASM Standalone


I created a brand new Blazor WASM Standlone project configured to use Microsoft Entra. Everything works fine but I can’t even put a break point to inspect anything in my code. I get the following error when I place a break point:

enter image description here

I’m running the latest version of Visual Studio 2026 18.2.0 and also have the latest .NET SDK installed i.e. 10.0.102. I also made sure the .NET 10.0 WebAssembly Build Tools is installed in ASP.NET and web development workload.

I did some research and see quite a few Blazor WASM debugging issues reported. Any idea what the issue may be here?

P.S.

  1. I went through this article and made sure each potential cause mentioned in it is actually fine in my setup. https://jonathancrozier.com/blog/why-you-cant-debug-your-blazor-webassembly-application

  2. Not sure if it’s useful but here’s a screenshot of the threads when I click the “View all Threads” button:

enter image description here

Leave a Reply

Your email address will not be published. Required fields are marked *