码迷,mamicode.com
首页 > 其他好文 > 详细

Tips and Tricks for Debugging in chrome

时间:2018-12-27 00:30:31      阅读:129      评论:0      收藏:0      [点我收藏+]

标签:tool   enc   and   change   poi   dev   imp   contains   otto   

Tips and Tricks for Debugging in chrome

Pretty print

On sources panel ,clicking on the {} on the bottom left hand side.

Console.table

Display data as a table ,improve readability.

Add watch expressions

Watching variable changes over time.

XHR/fetch breakpoints

This will reak on when requests url contains a specific string.

Dom breakpoints

  • subtree modifications
  • attribute modifications
  • node removal

Edit as HTML

Select an element,right click and choose edit as HTML.

Scroll into view

Select an element ,right click and choose scroll into view.

References

Tips and tricks for debugging in chrome

Tips and Tricks for Debugging in chrome

标签:tool   enc   and   change   poi   dev   imp   contains   otto   

原文地址:https://www.cnblogs.com/rosendolu/p/10182496.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!