javascript - How to debug add-on main.js, not just content scripts for Firefox extension? -
my extension code layed-out in file system. i'm trying write add-on sdk extension because of restartless properties.
i'm able debug, set breakpoints in launch.js , proc.js code, far haven't been able set break point in main.js.
any idea why main.js doesn't show under 'sources' when in debug mode? or may missing? i'm using firefox developer edition on
\sergixten
\lib
-main.js
\data
-launch.js
-proc.js
thanks help/hints!
sergio
use addon debugger
add-on debugger available since firefox 31. enable (see on mdn page how to) , addons manager, click debug on addon.
Comments
Post a Comment