Find what javascript changes the DOM?

前端 未结 2 352
野性不改
野性不改 2020-12-02 15:32

I\'ve been working with a ton of other\'s JS recently, and am starting to really hate trying to debug it. Even with Chrome\'s dev tools I can\'t track down a lot of the DOM

2条回答
  •  遥遥无期
    2020-12-02 16:09

    In Chrome dev tools, you have the option of breaking execution when the DOM changes. enter image description here

    Also a screenshot to illustrate Wolfram's answer (+1)

    enter image description here

提交回复
热议问题