Debugging JavaScript with Firebug
The Firebug website announced that development, updates and maintenance of Firebug have stopped, inviting everyone to use Firefox's built-in tools DevTools.
Description
Firebug is a very powerful tool that helps you find errors in your code and fix them.
Here we use Firebug to work with JavaScript code.
First we need to load the page and open Firebug.
Sometimes you need to reload the page.
Error count in the status bar

Show errors on the current page
Show detailed error information

Step through code
You can execute code step by step. This is very useful for debugging.

Debugging with breakpoints
Breakpoint debugging can stop code execution; you can specify a code range to check whether the error lies within it. This is useful for debugging errors.
If you click the "Step over" button, Firebug updates all variables until you stop breakpoint execution in the right-hand window.

Use an expression to make a breakpoint work
You can write an expression, and the breakpoint stops code execution when the condition is true.

Search
You can use quick search to find keywords in your code.
