-
Notifications
You must be signed in to change notification settings - Fork 29
Debugging Firebug Tips & Tricks
janodvarko edited this page Sep 9, 2014
·
7 revisions
See some tips and tricks that are useful when hacking on Firebug.
The first thing you want to usually do is cloning Firebug source code repository onto your local machine and run it. For this first step see detailed instructions.
It's hard to debug a debugger and one thing that might help you a lot is our Tracing Console (also Firefox extension). It displays various runtime logs coming from Firebug and allows to see what's happening under the hood.
Here is an example of a log that print a message into the Tracing Console:
const { Trace, TraceError } = require("../core/trace.js").get(module.id);
Trace.sysout("Hello from Firebug source code!");
Depeding on what's your path