Doesn't this worked?
@Thaina I think that example was based on the old Blazor version before the ASP.NET team re-wrote it to what you see today. So I doubt that debugging feature is gonna work now.
Maybe we should ask @davidfowl
Sorry for bother you
Correct, debugging has yet to be implemented with the new code base.
Looks like server-side debugging is working. What about debugging client-side in the functions area? Is this planned to be supported in the future?
Since work on this is now underway in the Mono repo, and we've already integrated Blazor with that, I think this issue is no longer tracking anything so I'll close it.
Can you clarify if debugging client side works? Particularly interested in VS Code.
Client-side debugging does work in chrome after a few annoying steps. The official write-up for it is actually really good. See below
So how does one exactly debug? I've followed the steps from the guide (https://blazor.net/docs/debugging.html) but I'm facing some issues:
Steps I took:
%programfiles(x86)%\Google\Chrome\Application\chrome.exe --remote-debugging-port=9222 http://localhost:52734
localhost:9222
and select the window where the blazor app is running inwasm
appears, but seems to contain only IL-like code)Should I open a new issue for this? Can't find anything related to my current problem.
@didii I experienced a similar issue, in the end the problem was cause because I'm using an alternative keyboard layout (Dvorak). Hitting what I thought was Alt + Shift + D did nothing (this is Alt + Shift + H on a Qwerty keyboard). When I tried using the "real" D key it worked. Hope this may be of some use.
@Gnredwards thanks. I just solved it myself yesterday evening. I simply had an extension that used that same keyboard shortcut and blocked Blazor from doing anything. So after disabling it, it worked!
Most helpful comment
Looks like server-side debugging is working. What about debugging client-side in the functions area? Is this planned to be supported in the future?