2

I'm writing plugin for firefox and I need a way to debug it. Plugin written in javascript. So is there is a elegant way how I can debug it?

Update 2014: There's a builtin Firefox debugger

Community
  • 1
  • 1
Vladimir
  • 12,753
  • 19
  • 62
  • 77

3 Answers3

3

The Mozilla Developer Center has plenty of useful information on this topic (as well as many others).

I would recommend Setting up an extension development environment as a good place to start.

Alex Barrett
  • 16,175
  • 3
  • 52
  • 51
1

You can use Firebug or Venkman's Javascript Debugger.

Pablo Santa Cruz
  • 176,835
  • 32
  • 241
  • 292
1

Chromebug is a useful tool which allows JavaScript debugging and inspecting XUL elements. You can take a look at a few screenshots here.

Can't Tell
  • 194
  • 1
  • 5