
The idea of debugging is being able to (conditionally) trigger what are called breakpoints to pause the execution of your code. Step 2 - Understanding the Basics of Debuggingīefore you begin to debug your app, it is helpful to be familiar with how debugging works. The app incorrectly grabs the user’s username by referencing usernameInput.text instead of usernameInput.value.


Or you can download the zip file and unzip the contents. You use Git to clone the Design-and-Build-a-Chat-Application-with-Socket.io repo. If you don’t have a JavaScript project to follow along with, you can complete this step to create a Quick Chat project. Step 1 - Creating a Sample App (Optional)

Knowing how to use debugging tools may not always be obvious when working with JavaScript outside of an integrated developer environment (IDE). Learning to debug is an essential skill for developers, as it allows them to efficiently fix errors during development.
