A breakpoint is a line in the script where execution stops so that you can check the script’s status. The debugger lets you stop execution on any line by setting a breakpoint. A breakpoint is denoted as a large red bullet.
One useful way to debug a script is to pause it with breakpoints, observe its behavior and check its state, then restart it. This is useful when you are not sure what lines of code are causing a problem.
During debugging, you can:
You cannot set breakpoints on blank lines or comment lines.