how to set DOM Breakpoints in chrome

后端 未结 3 706
面向向阳花
面向向阳花 2020-11-28 08:18

I\'m trying to follow the tutorial here.

I\'m stuck on the section DOM Breakpoints (near the bottom).

I went to the example site they are ta

3条回答
  •  温柔的废话
    2020-11-28 08:56

    To set break points in Chrome bring up the inspector like you have shown above and click on the scripts option at the top. This will allow you to look at the scripts being used on the page and to insert break points on that page. As well as step through them and other useful debugging options.

    The above is for javascript, to break on dom elements right click on the element (inside of the inspector) that you want to break on and it will bring up the context menu that allows you to break on subtree modifications and stuff like that.

提交回复
热议问题