How to use Firebug (Web development Debugging Tools)

Source: Internet
Author: User

Firebug is a plugin under Firefox, can debug all the website language, such as HTML,CSS, but firebug most attractive to me is the JavaScript debugging features, very convenient to use, and can be used in a variety of browsers (Ie,firefox, Opera, Safari). In addition, other functions are also very powerful, such as Html,css,dom's view and debugging, the overall analysis of the website and so on. In short, a complete set of powerful Web development tools.

  1. Firebug installation first open Firefox browser, if you do not have a browser does not have a menu bar, you can press F10 or ctrl+shift+a to bring up the Firefox component expansion.

  2. Then enter Firebug in the upper-right corner and return, select Firebug in the corresponding search results, then click Install, if the installation is finished, press F12 not to appear the corresponding debug window suggested restart Firefox browser.

    The following respectively on the Firefox 7 module simple description of its function, because I am a programmer so some advanced applications did not go to explore, just put their usual functions to explain

  3. Press F12 to bring up the debug window and then move the mouse to select the corresponding effect you want to edit.

  4. If you want to debug the jquery syntax you can also click on the console to start your jquery journey. And there are hints that are cool, and there's a bit of a taste of Linux's historical commands.

  5. In other programming languages such as PHP to view the array can be used Var_dump,print_r to view the array has those corresponding elements, but JS is troublesome, I really do not know the way to view

    So I wrote an example, I generally use Dir and Console.log () to see, I do not know how others look at? More interesting is that the console API can also see the script run time really cow.

  6. The following is the AJAX request dynamic Data, and made a simple linkage effect. To show how to view the returned data.

  7. Perhaps Firebug most attracted me will be JS debugging, really convenient, as long as a simple set breakpoints, click to step into the JS script can be debugged.

  8. 8

    Finally, if you want to study in depth, you can see how to use it here. Good luck!

    Https://getfirebug.com/wiki/index.php/Console_api

    Here are some more wonderful uses for you to explore.

How to use Firebug (Web development Debugging Tools)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.