How to remove all breakpoints in one step in Google Chrome?

前端 未结 8 1728
再見小時候
再見小時候 2020-12-22 19:49

How to remove all breakpoints in one step in Google Chrome? Using version 11.

[update]

There is now a feature request for this.

[update]

The

8条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-22 19:58

    Chrome Devtools crashed everytime I tried to access the Sources panel because of a breakpoint on a minified Javascript file.

    To remove all breakpoints without access to the interface, you can do the following:

    1. Open inspector-on-inspector : undock first inspector and hit ctrl+shift+i to open the second
    2. On the inspector-on-inspector console, execute the following:

      window.localStorage.breakpoints = [];
      
    3. Close the inspectors and reload the page. Now the breakpoints are gone.

提交回复
热议问题