Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get a specific error for corrupt Firefox extensions?

Background:

I'm working on an extension for Firefox and obviously made a mistake somewhere. This is my first extension, so I wouldn't be surprised if the problem ends up being something simple.

The issue is though that I can't even get a decent error from Firefox to hunt down the problem.

The Problem

When I attempt to install my extension by dragging the XPI file into the Awesome/Location bar, I get an error message stating "This addon could not be installed because it appears to be corrupt." This is not a terribly useful error for someone trying to develop and extension.

Does anyone know of a way to get a more verbose error message? Googling around I wasn't able to find anything myself.

like image 454
Zell Faze Avatar asked Aug 16 '12 17:08

Zell Faze


1 Answers

Firefox has an error console under "Tools">"Web Developer">"Error Console" (ctrl+shift+j for me).

Open up the error console, there will probably be a lot of warnings already listed. Clear all of these and then try to do something, i.e. install your extension. The console will update automatically.

like image 128
Usagi Avatar answered Nov 15 '22 23:11

Usagi