The process of finding and fixing bugs is called debugging and is a normal part of the development process.
To debug JavaScript using Google Chrome, follow the below-given procedure −
- Open the Google Chrome web browser. From the right, select Tools,
Go to Tools, and select Developer tools, as shown above.
Select Console.