There is a great probability that a programmer will make a mistake when writing his/her program. This mistake in the script is known as a bug. The process of finding and even fixing these bugs is what is known as debugging and it is a normal part of your development process.
For those who are just starting out in the programming industry, checking out the various tutorials available can be quite daunting. This is because the same technique may not work at all times. However, programmers need to be patient as the debugging process will be much easier and clearer with lots of practice. These guidelines will help you achieve what you want.
Perform a specific action that causes the function to launch, for example, you can click on the button on the web form, which is directly linked to the function.Some functions are not linked to a specific web element, however, they tend to be interconnected to a web page body or a global script. In such a case, you only need to press F5 so as to reload the webpage.
You should then resume the execution of the script by clicking on the “Pause/Resume script execution”. This button is located on the top-right position of the Web Inspector window and it is below the field marked “Search Scripts”.