P粉2116001742023-08-28 15:50:16
I had the same issue, in my case the logging in the console tab of Chrome Developer Tools was set to "Hide All". I didn't even realize this was an option and I don't remember turning it off
P粉9167604292023-08-28 00:59:53
You are looking at the wrong place. These console messages do not appear in the web page, but appear in an invisible background page (ManifestV2) or Service Worker (ManifestV3).
To see the correct console for background script context open the development tools:
chrome://extensions/
or right-click the extension icon and select "Manage Extensions." Background Page
(ManifestV2) or Service Worker
(ManifestV3). Screenshot of ManifestV2 extension:
Screenshot of ManifestV3 extension: