How do you log to Firebug from an extension?

前端 未结 6 670
灰色年华
灰色年华 2020-12-31 08:08

I\'m writing an extension for Firefox, and I need to log some data to Firebug\'s console. Within the scope of my addon, \"console\" is undefined, and \"window.content.consol

6条回答
  •  庸人自扰
    2020-12-31 08:38

    As far as I know you can only do that if you are creating a JetPack Add-on. Normal debugging is done with Venkman from Mozilla at http://www.mozilla.org/projects/venkman/

提交回复
热议问题