32

I'm trying to debug some javascript in IE 11 and I'm not able to force it to stop on a breakpoint.

debugger; line works fine (stops debugger in that line), same file without a debugger; line but with a breakpoint set in the same place does nothing (function works fine, but debugger does not stop on a breakpoint).

Chrome's and Firefox's debuggers stop on breakpoints in the same places.

Any thoughts what could be the cause of this behavior?

Sampson
  • 265,109
  • 74
  • 539
  • 565
Wojtek
  • 1,390
  • 1
  • 19
  • 38

1 Answers1

63

Hamlet, in the comments to OP question, gave the correct answer.

Uncheck the following option:

Internet Options > Advanced > Disable Script Debugging (Internet Explorer)

ar1el
  • 13
  • 4
Wojtek
  • 1,390
  • 1
  • 19
  • 38