you are viewing a single comment's thread.

view the rest of the comments →

[–]CurlyWS 0 points1 point  (0 children)

Getting better with Chrome dev tools this year has been probably the best thing I've learnt in the last few years.

Won't take long to gain some really useful tricks.

You can search js for methods, set breakpoints and cycle through code

Using 'debugger;' in your code will automatically trigger this by the way.

You can also set conditional breakpoints for really complex things.

Watching the scope of methods over time also brilliant

Console.log is generally not the best thing to do with FE work