I\'ve loaded this sample extension from Chrome docs which uses the commands API.
manifest.json
{
\"name\": \"Sample Extension Commands extension\",
\"d
I was running into the same issue and these suggestions didn't help. Here's what I figured out: since you declared the script with the listener in the background: {}
section, it logs to a background page. You can see that log specifically by clicking "Inspect background page" right below the extension at the chrome://extensions
. that's where the listener logs to.