Firebug is an open source extension for Mozilla Firefox
that assists you with debugging, editing, profiling, logging, and
monitoring HTML pages, DOM, CSS, and JavaScript.
Procedure
- Enable Firebug by selecting as your default browser in your workspace.
- In the Enterprise Explorer view, right-click the web page
that you want to debug and select .
- Click Finish. Your
web page opens in Firefox.
- To enable Firebug, click
.
- In the Firebug section, click the Script tab
and then click Enable.
- After the scripts are enabled, click Reload. The web application is ready for debugging.
- Continue to use the debugging tools to step through the
code.
- In the JavaScript resource
that you want to debug, set a breakpoint. The
breakpoint that is set stops the execution according to the logic
of your web page.
- Click the Watch tab to trace the
execution and determine which values to change.
Tip: You
can enable, disable, or remove breakpoints from the Breakpoints tab.