Debugger pauses the execution or say it acts similar to the breakpoints. When the execution is paused we can find the value of any particular variable we would like to check the value.
We can use it many ways. They are:
- When the server calls returns the values to a variable debugger can be used to check what that particular variable contains.
- Passing values from one method to another, debugger helps in checking if the value has been passed or not.
- Also, in the console tab of Google Chrome Inspect one can fetch the value of variables.
- Helps in finding the flow of the Application and not just the value stored in variables