👻 Check our latest review to choose the best laptop for Machine Learning engineers and Deep learning tasks!
Even for professionals, coding is not easy. This is probably why developers spend a lot of time looking for bugs in their code. Sometimes a bug is obvious, causing the whole program to crash at once. Other times a bug is very subtle, producing good-looking output that always contains flaws.
As counterintuitive as it may sound, obvious bugs are better because they are easier to find. A sneaky bug can lurk in everyday software for years.
Think of it this way: If you were in a building that was slowly filling up with poison gas, you would want the gas to be odorless, tasteless and colorless, or bright purple and smelling like powder. cannon?
Debugging is a crucial step in the development process , there are many tools available to do this. Today we are going to talk about debugging JavaScript in Chrome. Javascript is by far one of the most popular languages ​​overall and arguably the most popular language for web development. Likewise, Chrome is one of the most used web browsers.
As someone who will soon be a in-demand web developer , it’s a good idea to familiarize yourself with JavaScript debugging with Chrome. I encourage you to follow this elegant example webpage > created specifically to practice debugging.
Using the Source panel

Chrome comes with a set of powerful tools that allow developers to inspect the source code of a website , including HTML, CSS, and Javascript.
This is a great way to read the code of websites you love and learn how to debug them.
Take the tour
As of 2019 and the latest version of Chrome, accessing developer tools is as easy as going to View -> developer -> Tools development in the top browser menu the screen. This opens the Chrome Developers Panel with its many useful tabs.