Webextensions add-on working locally but not once published

I am developing my first Firefox extension using Webextensions. When using “Load a temporary add-on” locally on my computer, everything runs fine. However, on the published version (https://addons.mozilla.org/en-US/firefox/addon/youtube-caption-indicator/) nothing seems to work: the add-on is supposed to add some information to YouTube search results and I don’t see any. I tried to follow Mozilla’s add-on debugging instructions, but all I get is an empty Debugger tab:
https://i.stack.imgur.com/s01ZN.png

I probably do something obviously wrong, any ideas ?

Downloaded the extension and extracted the files.

Inside the manifest

"bower_components/jquery/dist/jquery.min.js",

There is no ./bower_components/jquery/dist/ directory. jquery.min.js is located in the root. Try changing the path?

1 Like

Thanks a lot! That was it! I feel quite stupid that I didn’t know that I could just download the extension and check what’s inside.
By the way, any clue about why I couldn’t debug the live extension ?

I’d wager since it was a bad manifest the addon failed to load. Therefore no sources or anything to view. Theoretically, if you reopened the browser and opened the debugger before the addon was slated for loading you’d probably see an error regarding the manifest entry in the console. I say theoretically because I believe addons are loaded before the UI even opens. Don’t quote me on that though.