0

In VS2010 there was no issue with javascript breakpoints. Now that we are on VS2012, if I set a breakpoint in a javascript function that resides in the aspx page, the dubugger skips past it. Also, the aspx page is not showing up in the (Script Documents) of the solution while in debug mode. I thought I would be able to set a break point there, but not so much. Anyone having a similar issue and how can we fix this?

Troy Mitchel
  • 1,790
  • 11
  • 50
  • 88

1 Answers1

3

put debugger; inside where you want to break as in

   function foo()
{
   debugger;

  //rest of the code
}
Dan Hunex
  • 5,172
  • 2
  • 27
  • 38