Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Use Firebug to debug JavaScript


May 25, 2021 Firebug


Table of contents


Use Firebug to debug JavaScript


Describe

Firebug is a very powerful tool that can help you find errors in your code and resolve them.

Here we use Firebug to handle Javascript code.

First we need to load the page and open the Firebug.

Sometimes you need to reload the page.

The number of errors in the status bar

Use Firebug to debug JavaScript

An error that shows the current page

Use Firebug to debug JavaScript

Displays the details of the error

Use Firebug to debug JavaScript

Step by step debug the code

You can execute the code step by step. This is useful for code debugging.

Use Firebug to debug JavaScript

Use break point debugging

Break point debugging can terminate the execution of code, and you can see if the error is within the specified code range by specifying the code range. This is useful for error debugging.

If you click the Step over button, Firebug updates all variables until you terminate break point execution in the right window.

Use Firebug to debug JavaScript

Use expressions to make break points work

You can write an expression that stops code execution when the condition is true.

Use Firebug to debug JavaScript

Search

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

Use Firebug to debug JavaScript