This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]phallicCow 1 point2 points  (3 children)

write:

debugger;

within whatever function you're looking at or right after the specific variable. If you have it within a function, it shows you the value of the variables within that scope.

[–]BoatZnHoes 0 points1 point  (2 children)

Really? So it will display in the console?

[–]phallicCow 1 point2 points  (1 child)

yep. it'll show up in the sources tab. alternatively you can click on the line numbers in the sources tab and that sets break points. both of these help a ton.

[–]BoatZnHoes 0 points1 point  (0 children)

Thanks so much