1

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 2

4

How about using "debugger;" command in javascript?

Sign up to request clarification or add additional context in comments.

Comments

-1

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

this is not even close to being an attempt at answering the question as asked.
@SkySanders How so? This is how you debug javascript.
@jrummell Not when Visual Studio is attached, because then you can't use IE's script debugger.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.