Javascript line debugger

It may seem crazy, but is there a debugger that automatically breaks into the first line of executable code?

Example: suppose I have debug mode turned on, and I press the button. The smart debugger should now automatically set a breakpoint on the first line inside the .click ({}) function.

Thus, it is very easy to see the starting point and very easy to retreat.

Of course, there must be something.

thank

+5
source share
3 answers

Chrome with CTRL + SHIFT + J .;) Here you can set breakpoints. I think it also works under FF. Also in newer versions of IE there are JavaScript debuggers (I don’t remember the shortcut, though).

F12 . Chrome, Safari, IE , FF Firebug.

+2

debugger;

, .

+9

You can also debug a visual studio, select debugging from the menu → Attach to process, and then select the interter explorer process. But first you must enable the debugging script in Internet Explorer.

+1
source

All Articles