InfoLearner
InfoLearner

Reputation: 15598

Is there a better way of debugging javascript in MVC3 application other than adding debugger?

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

Answers (1)

scottm
scottm

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

Related Questions