How can I debug a Firefox extension with Firebug?

前端 未结 4 1185
失恋的感觉
失恋的感觉 2021-01-12 02:02

I\'m trying to use Firebug to debug a JavaScript file in an extension I\'ve added to Fx 4.
Can anyone tell me how to do it? I can only see website scripts.

4条回答
  •  萌比男神i
    2021-01-12 03:03

    Use Chromebug it's firebug for extension development, witch will give you the full ability to inspect debug firefox it self and all firefox extension as if it's a webpage :)

    1- install the latest version from here: http://getfirebug.com/releases/chromebug/

    2- Winkey+R to open run then type firefox.exe -chromebug this will run firefox with chromebug

    3- for more information visit http://getfirebug.com/wiki/index.php/Chromebug

提交回复
热议问题