title: How to set JavaScript breakpoints in Visual Studio 2008 or Visual Studio 2010
body: <p>I'm trying to debug JavaScript code using Visual Studio 2010, but I can't set breakpoints.</p>
  
  <p>How can I do this?</p>
  
  <p>I just noticed something, every time I try to call a function, no matter what function, in JavaScript, somehow <a href="http://en.wikipedia.org/wiki/JQuery" rel="noreferrer">jQuery</a> and Microsoft's Ajax framework JavaScript captures it and checks if the document is ready (<code>document.onready</code> or other) and never returns the control back to the function I'm calling! Why on earth is it doing this? I've never asked for it to!</p>
  
  <p>All I have are references to these libraries, script/link references as you do on the top of your master page.</p>
  
  <p>This is ridiculous, how do I fix it?</p>