Skip to content

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.

Start Hacking

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.

Tracing Console

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

Clone this wiki locally