Accessing console and devtools of extension's background.js

后端 未结 7 2360
粉色の甜心
粉色の甜心 2020-11-21 04:17

I just started out with Google Chrome extensions and I can\'t seem to log to console from my background js. When an error occurs (because of a syntax error, for example), I

7条回答
  •  粉色の甜心
    2020-11-21 04:54

    I had this problem as well. It seems as though my webpage was not updating to the newly saved script. This was solved by pressing Ctrl + refresh (or Ctrl + F5) in the chrome browser.

提交回复
热议问题