Google Chrome / Firefox do not see extension output in console

后端 未结 3 1045
情深已故
情深已故 2020-11-21 04:58

I am trying to test sample code for web extension for browsers. But, it doesn\'t work. I checked the console for Google Chrome and also for Firefox. It doesn\'t print anythi

3条回答
  •  悲&欢浪女
    2020-11-21 05:47

    Which console are you viewing in for the logs?

    If you are viewing console on a tab, then that is the wrong place.

    Open settings / Extensions or in a new tab type

    chrome://extensions
    

    Under your extension click on "background page" link which is where you can watch for logs

    **Make sure Developer mode is checked

提交回复
热议问题