1

Does anyone know how I can use firebug from an overlay.js script in a Firefox extension? I'm on Snow Leopard (just in case it makes a difference).

I'm developing an extension but it's taking me forever because I have no visibility into my javascript objects.

Thanks!

luisgo
  • 2,385
  • 4
  • 24
  • 30

3 Answers3

2

Actually, what you really need is ChromeBug, created by the Firebug team.

ChromeBug is a Firebug version that can debug XUL elements, that is, a Firebug that can debug Firefox extensions.

See more about it here: http://blog.getfirebug.com/2009/10/12/chromebug-1-5a4/

Pedro Simonetti
  • 409
  • 2
  • 2
1

Try using FireBug Lite. It's a handy substitute for the real deal -- essentially it's a Javascript file you can package up on your site or custom extension.

John Feminella
  • 303,634
  • 46
  • 339
  • 357
1

Install FirebugLite and use the following to log things to console:

Firebug.Console.log('things to log...');
Thariama
  • 50,002
  • 13
  • 138
  • 166