I like using debugger; in chrome, it’s kinda the middle ground between console.log and only using the inspector.
I like that it’s less transient, I can add it and jump right back in if I have to pause debugging a problem and come back later. :)
Git stash does not work for our browser debugger.
I also use console.log for the same reason, I can save something I am debugging for later.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.