In FireFox's debugger, how do I break at the first line of JavaScript that an addon runs?
I need to break at the entry-point, but I don't know what the entry-point is.
The entry-point is determined by manifest.json
. For example, the background scripts section:
{
"manifest_version": 2,
"name": "My Add-on",
"version": "1.0",
"description": "A description of my add-on.",
"permissions": ["activeTab", "scripting"],
"background": {
"scripts": ["main.js"]
},
"browser_action": {
"default_popup": "popup.html",
"default_icon": {
"48": "icons/icon-48.png",
"96": "icons/icon-96.png"
}
}
}