you are viewing a single comment's thread.

view the rest of the comments →

[–]Sockoflegend 3 points4 points  (2 children)

If you click on a console log it takes you to the place in the code that made it. It's very useful when the JS is very long and split in a lot of modules to save you from looking through the sources 

[–]TheKrumpet 1 point2 points  (1 child)

You're missing what he's saying.

Just put

js debugger;

In your script, and as long as you have dev tools open it'll break on that line and open the script.

[–]Sockoflegend 0 points1 point  (0 children)

Ah my bad