Вопрос

I am working on a firefox addon which is heavily built on javascript. Addon is a ui recorder which has a popup window consisting of the addon specific buttons operating on a tab of main window.

When I inspect the debugger of either of the wondows, I dont see the javascript of the addon to set breakpoint or inspect. How do I debug?

Note: I want to debug the addon.

Это было полезно?

Решение 3

to break point in your addon code? try this addon Tiny JavaScript Debugger

Другие советы

here's a MUCH better solution its made my mozilla itself its added to firefox in ff31:

https://blog.mozilla.org/addons/2014/04/08/add-on-debugger-now-in-firefox-nightly/

watch that video

you have to use browser console (ctrl+shift+j) and eanable the develoment prefs (see mdn for prefs)

You can use DevPrefs in conjunction with the current debugger

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top