How to 'add watch' in Chrome developer tools?

好久不见. 提交于 2019-12-03 12:57:25
Or Duan

You can do it by clicking 'add to watch' after right clicking

You can also select the expression/variable and hit Ctrl + Shift + A

According to Chrome DevTool Docs - Watch variables in Sources, you can do it in 1 of 3 ways:

  1. Highlight text, right click and choose "Add selected text to watches"
    • Note: this used to be "Add to watch"
  2. Highlight text and press Ctrl + Shift + A
  3. Add from the watch panel directly in the top right corner of the sources tab

You need to double click the variable name, then right click will reveal the add to watch option.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!