Firebug is an add on for firefox browser. This addon is a great boon for all the web developers.Firebug makes the modifications directly on the browser memory and hence any changed made will be reflected immediately on the webpage.
Some of the extradinary featrues of Firebug.
Console Tab.
This tab displays the list of errors caused due to the Javascript or request and response failure. It will list the javascript which has caused the error along with the line numbers. This will help you to identify the errors to correct it.
Edit HTML.
You can edit the html generated for the page. You want to decide few things like the height, width of the table or for any other object, it can be achieved using Firebug. You can change the values which will reflect immediately on the browser. With this you can make on how you want the page to look in the browser and then set it in your code level.When you click on any object in the HTML Code it will highlight it on the browser for you to confirm that you are editing the right one.
Debug Javascripts
You can directly debug the javascripts associated to the current viewing page. There is a tab called as scripts in firebug which will list all the javascripts assoicated to the page. You can choose the Javascript which you want to debug and proceed further by keeping breakpoints. Usual debuggin options like step into, step over , Run are available within.
Edit CSS.
You can directly edit the css of the page. This helps you to identify the colors, font sizes and other css related information of the page. It gives you the option to change the values and you can get the look and feel of the page when you change it. Like say you wanted to try different colors for the buttons or fonts, change it in the css in firebug and you will see it runtime in the browser.
Best of All is the Dom Inspector.
This gives the complete information of DOM and you can edit the values during the runtime which will be reflected in the browser immediately.
Comments
Post a Comment