Today I went over debugging again which was in better detail this time around. Compared to w3schools this one was a lot more in depth with graphics.
The debugging process doesn’t look too difficult however it isn’t just memorizing a syntax. Here are the basic things to look for, which can be found in Google Chrome (F12 on Windows/Linux) and most browsers.
- The Source zone shows the source code.
- The Information and control zone is for debugging, we’ll explore it soon.
Those are just visuals to get familiar with the debugging screen. The way to find bugs in the code is by pausing the script. You can pause the script by using the debugger statement or by using a break point.
Learning about break points started to click. They are beneficial to limit the amount of code you have to examine for changes to be made.