Is it possible to debug jquery in Visual Studio MVC3 Razor in a partial view? The breakpoints I set within a regular view are hit, however, when I set breakpoints in a partial view loaded within that view, they aren't. I know the javascript is working, just wondering if this is a limitation with debugging script in partial views.
2 Answers
You should use your browser to debug javascript. Most modern browsers have a debugger as part of their Developer Tools. E.g., in Internet Explorer, hit F12.
3 Comments
Sky Sanders
this is not even close to being an attempt at answering the question as asked.
jrummell
@SkySanders How so? This is how you debug javascript.
Tom Lint
@jrummell Not when Visual Studio is attached, because then you can't use IE's script debugger.