I'm working on my first Blazor PWA app and having no luck at all getting debugging breakpoints to fire in Visual Studio 2019 Preview. I thought that this would work right out of the box. Does anyone have any suggestions where I should look to get breakpoints
working?
Blazor was officially released the day after your post. It would be a good idea, if oyu haven't already done so, to update to the released version and use the latest released version of Visual Studio (instead of a Preview) to see if that resolves the issue.
Member
2 Points
11 Posts
Breakpoints not firing.
May 18, 2020 07:00 PM|Jim Young|LINK
I'm working on my first Blazor PWA app and having no luck at all getting debugging breakpoints to fire in Visual Studio 2019 Preview. I thought that this would work right out of the box. Does anyone have any suggestions where I should look to get breakpoints working?
All-Star
194434 Points
28074 Posts
Moderator
Re: Breakpoints not firing.
May 28, 2020 09:54 AM|Mikesdotnetting|LINK
Blazor was officially released the day after your post. It would be a good idea, if oyu haven't already done so, to update to the released version and use the latest released version of Visual Studio (instead of a Preview) to see if that resolves the issue.
Contributor
2611 Points
2707 Posts
Re: Breakpoints not firing.
May 28, 2020 12:00 PM|wavemaster|LINK
mikesdotnetting has good advice.
Once you are all up to date you can start debugging by:
SHIFT ALT D
copy the link to the browser (edge or chrome)
close browser tabs
open up command window and paste the link
There are instructional videos on youtube.
Member
2 Points
11 Posts
Re: Breakpoints not firing.
May 28, 2020 04:25 PM|Jim Young|LINK
Yep. I was watching the Build 2020 video and noticed that. I upgraded VS 2019, Pro and Preview, and breakpoints are working as expected.
Thanks!