Google Chrome Javascript Debugger and Content Scripts

后端 未结 4 537
南旧
南旧 2020-11-30 03:27

This question has been asked similarly before, but I can\'t seem to debug Javascript in Google Chrome.

If I go to Page > Developer the \"Debug Javascript\" (Ctr

4条回答
  •  隐瞒了意图╮
    2020-11-30 04:29

    Put the following command in your script:

    debugger;
    

    That will launch the Javascript debugger when it gets to that point

提交回复
热议问题