Reputation: 15598
I want to debug javascript in my .cshtml file and adding "debugger;" is troublesome.
Is there a better way of debugging javascript in .cshtml files being debugged under VS2010?
Upvotes: 0
Views: 564
Reputation: 28701
The best way for me has always been to just open the site in a browser and use the browser's development tools. All of them allow setting breakpoints, watch variables etc. these days.
Upvotes: 6