How to disable chrome extensions JS when debugging in devtools?

后端 未结 3 555

When I add mouse event breakpoint, devtools always jump into extension\'s JS.

Is there any way to point to my mouse event code directly?

3条回答
  •  遥遥无期
    2021-01-31 18:25

    I think the simplest way is to open an incognito window (Ctrl-Shift-N) (or Cmd-Shift-N for mac) and debug in there, because then there will be no extensions loaded (by default).

    I know what you mean by this question: when debugging, and doing something simple like pausing execution, you always find it breaks into one of the extension's codes instead of the current webpage's code.

提交回复
热议问题