JPM not working
问题 I've just tried using JPM for the first time, and I can't get anything to work. My index.js file looks like this: const actionButton = require('sdk/ui/button/action'); const TAG = "Addon Scratchpad / Index "; console.log(TAG+'in index.js'); var button = actionButton.ActionButton({ id: "my-button", label: "my button", icon: { "16": "./tool-scratchpad-16.png", "32": "./tool-scratchpad-32.png" }, onClick: function() { debugger; console.log(TAG+'button clicked'); } }); The Folder structure is