Vladimir
Vladimir

Reputation: 13153

How to debug firefox plugin?

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

Upvotes: 2

Views: 4335

Answers (3)

Can't Tell
Can't Tell

Reputation: 194

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

Upvotes: 1

Alex Barrett
Alex Barrett

Reputation: 16455

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.

Upvotes: 3

Pablo Santa Cruz
Pablo Santa Cruz

Reputation: 181280

You can use Firebug or Venkman's Javascript Debugger.

Upvotes: 1

Related Questions