It's easy to install. It's Okay To find firebug in the plug-in library on Firefox. Is the firebug debug window.
Firebug artists are widely used. The company's artist sister is very skilled. For our developers, we mainly use it to debug Js. Let's take a look at the official introduction to the debug function.
Firebug events des a powerful JavaScript debugger that lets you pause execution at any time and see what each variable looked like at that moment. if your code is a little sluggish, use the Javascript profiler to measure performance and find bottlenecks fast.
In short, firebug allows us to debugjs and view variables at any time, and identify performance bottlenecks in Js.
How to find the web application JS, activate firebug, click script, and then select the JS you want to debug next to all.
It is basically the same as how to break a breakpoint in eclipse. Click the row number and it will be OK.
How to set conditions on the breakpoint. If the conditions are met, the breakpoint will be entered. This function is very good, especially when debugging is a complex function.
How to perform one-step debugging, just like Eclipse F11
Is to view the called Stack, which is very helpful for complicated JS debug.
Is to view the variable is basically the same as eclipsedebug.
Is to view the variable at the breakpoint.
There is a very useful function,CodeFast inter-row conversion, making debugging for thousands of lines of JS very easy.
Is the performance test result, use a Simple Profile
Another log function is more practical. If you don't want to open a breakpoint every time, it would be better to use it.
This is the basic usage, and I hope to help you.