Chrome DOM breakpoint keeps enabling itself

前端 未结 5 2049
情话喂你
情话喂你 2021-02-01 13:12

Yes, in the console, I made the horrible mistake of setting a DOM breakpoint on an element that wasn\'t getting the content injected into it that I expected it to.

Well,

5条回答
  •  遇见更好的自我
    2021-02-01 13:36

    solution here: http://code.google.com/p/chromium/issues/detail?id=91666

    To purge all breakpoints open inspector on inspector (undock first inspector and hit ctrl-shift-I to open the second) and run "WebInspector.settings.domBreakpoints.set([])" in second inspector's console.

    2021 Edit: This answer is now a decade old, there are multiple alternatives in the comments to this answer. I haven't tested them, the most up to date is from @reuben-thompson: window.localStorage.clear()

提交回复
热议问题