Lets stop guessing and debug apps properly with VS Code debugging tool

Console.log() has been a reliable and easy way to track down errors and bugs ever since I started learning JS but with extensive usage of states, complex objects, etc it's no longer the fastest way of debugging the app.

Chrome Dev tools have had a solution for a while and VS Code editor could be connected to it which makes the whole debug process even smoother and faster.

Here is a set of techniques how to find errors faster than with just the console.log() method.

More useful console methods

Chrome Dev Tools debugging

VS Code debug with Mozilla Dev tools

This is a great video with valuable tips on how to debug an app efficiently with console methods, Chrome dev tools, and VS Code.

Essential JavaScript debugging tools for the modern detective by Rebecca Hill | JSConf Budapest 2019