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

前端 未结 8 1719
再見小時候
再見小時候 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:56

    In my case Uninstall and new installation of Chrome was without any success.

    Also window.localStorage.clear() did not help.

    My "last chance solution" is to remove entire directory where Chrome is storing its data. First turn off your Chrome. Then look at this path "c:\Users\ {your_user} \AppData\Local\Google\Chrome\User Data\Default\Local Storage\". Here try to delete all what is in this directory.

    0 讨论(0)
  • 2020-12-22 19:58

    Since recently (Chrome 18), you can right-click any breakpoint in the Breakpoints pane and voila! The "Remove All JavaScript Breakpoints" popup menu item!

    0 讨论(0)
  • 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.

    0 讨论(0)
  • Under Sources, you can click button marked with red on picture below or use shortcut Ctrl + F8 just like tool tip is showing (activate / deactivate breakpoints). A little bit lower under 'Breakpoints' you will see all your breakpoints. If you choose to disable all, they will be grayed out.

    0 讨论(0)
  • 2020-12-22 20:00

    This is now possible in Sources tab of Chrome Developer Tools. Please see screen grab below and right click within the "Breakpoints" section of the left window.

    enter image description here

    0 讨论(0)
  • 2020-12-22 20:09

    Another option is to de-activate all break points using:

    Ctrl + F8

    0 讨论(0)
提交回复
热议问题