In Razor Page Model, breakpoint will not work if we mix that .cshtml or .js file with razor syntax.
But we were still able to insert the debugger
keyword to the javascript and it will break.
However this feature is no longer working with the latest :-
- Microsoft Visual Studio Community 2019 Version 16.9.4
- Microsoft Edge - Version 90.0.818.39 (Official build) (64-bit)
It will stops at the point when it saw the debugger
keyword, but the dynamically generated page (Razor .cshtml) is blank.