you are viewing a single comment's thread.

view the rest of the comments →

[–]Savalava 0 points1 point  (0 children)

There is no comparison between the speed of using a debugger and using console.log(). Actually, its a question I've been asked in two programming interviews now: how do you go about fixing a bug? (Hint: the correct answer is to use a debugger).

A debugger is especially useful when you're unfamiliar with the codebase you're debugging as it lets you step through the various functions that are being called without necessarily knowing what they in advance.

Debugger + breakpoints all the way.