开发者

How to see Javascript stack of a website?

开发者 https://www.devze.com 2023-02-06 09:20 出处:网络
Let\'s say I am visiting CNN, and they use javascript as we know. They initializ开发者_开发知识库e some variables and change it during my visit. How can I watch what values these variables are getting

Let's say I am visiting CNN, and they use javascript as we know. They initializ开发者_开发知识库e some variables and change it during my visit. How can I watch what values these variables are getting?


Install firebug and use the script tab. You can set breakpoints, step through code and more.

If you are not using FF, you can use firebuglite.


IE8 and above have similar built in dev tools easily accessible by pressing F12.

Chrome and Safari have such built in tools too, and so does the latest version of Opera.

0

精彩评论

暂无评论...
验证码 换一张
取 消