简体   繁体   English

javascript调试工具

[英]javascript debugging tool

Could someone suggest some tool or how to configure firebug to display a list of defined variables in separate window. 有人可以建议一些工具或如何配置Firebug以在单独的窗口中显示已定义变量的列表。

I want to see variables, when any variable changes it property, at what line of code it have been changes and so on. 我想查看变量,任何变量更改其属性,更改的代码行等等。

Because code becomes pretty big and following all needed variables is pretty hard now. 因为代码变得很大,并且现在很难遵循所有必需的变量。

Have someone seen some tool with such capabilities? 有人见过一些具有这种功能的工具吗?

Maybe there is some IDE, that have such functionality? 也许有一些具有此类功能的IDE?

So basically i need to monitor JavaScript variables at separate window. 所以基本上我需要在单独的窗口中监视JavaScript变量。

Thanks ^_= 谢谢^ _ =

  1. Open the Firebug pane or window. 打开Firebug窗格或窗口。

  2. Click on the " Script " tab. 点击“ 脚本 ”标签。

  3. On the right-hand pane, click on the " Watch " tab. 在右侧窗格中,单击“ 监视 ”选项卡。

  4. Click the " New watch expression... ". 单击“ 新手表表达式... ”。

  5. Type or paste in your variable name. 输入或粘贴您的变量名。

  6. Enjoy! 请享用!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM