DEV Community


Discussion on: console.log(x): The way out

leob profile image

In most cases I'm just temporarily adding "console.log" in lieu of using a debugger (which somehow I can never get used to when coding Javascript, while I ALWAYS use a debugger when working in PHP) ... once I've figured out how to get that piece of code working I immediately remove them (typically within an hour).