Unable to debug content scripts

It’s been a while since I had to debug a content script. With 84.0.1, I’m a bit baffled that the debugger doesn’t show script source belonging to any of my extensions (I’ve a handful of them enabled and functional). I can only see sources from the page itself, but nothing from extensions. The debugger window doesn’t show any moz-extension on the left hand side, unlike shown here: https://extensionworkshop.com/documentation/develop/debugging/#debugging-content-scripts.

Did anything change recently? Am I missing some other toggle to enable debugging content scripts?

FWIW, I am able to view and debug background page’s sources from about:debugging#/runtime/this-firefox.

OK, I found that there’s “Enable browser chrome and add-on debugging toolboxes” checkbox in the settings for dev tools. Either it’s a new setting, or I lost that when I deleted my old profile and created a new one.

Sorted now.

1 Like