Debugging JavaScript -console.loggerheads?
Christian Heilmann

I used to debug using console.log() till I recognize the chrome debugger was better and faster to know what is the cause of the bug.

e.g sometimes juniors like me write a console.log(array) only to know that we need the info of another variable so we run the code and go back to the editor write more console.log() and so on

Also I am switching from sublime text to visual studio code, xdebug on sublime text is pretty bad and the IntelliSense is so good

Like what you read? Give Raigorx a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.