IE debugging JavaScript tools _javascript Tips

Source: Internet
Author: User
Friends who do web development know that JS program debugging is rather depressing, because the first language syntax is more flexible, it is a weak type of scripting language, many errors are uncontrollable, these do not talk about the most painful is no good debugging tools, now the situation is slightly better than before, Under the Firefox also has Firebug, this is indeed a good JS debugging tool, but use in IE is very troublesome, and the effect is very bad, I have been struggling to find a good ie under the JS Debugging tools, can automatically catch errors, and location and reason, Did not expect today unexpectedly to find such a good tool, dare not to stash, share out, I hope to be able to bring convenience for you web developers

The name of this tool is called Companion.js, note that this is not a JS file, but a name that is installed as a plug-in for IE, and needs to be used in conjunction with Microsoft Script Debugger, by installing this tool, However, when the page error will appear in the upper left corner of a small error, click will be shown under IE an error console, like the Firebug under the FF console. Error message hints are detailed.

The following is an official website error message sample diagram:


official website address: http://www.my-debugbar.com/wiki/ Companionjs/homepage

The specific use method is:
1, download the Companion.js installation file first, and then install.
2, download and install Microsoft Script Debugger, you can avoid this step if your machine has already been installed.
3, open IE Menu "tools"--"Internet options"--"advanced", find "Disable script debugging (Internet Explorer)" and "Disable script debugging (outside of Internet Explorer)", remove the hooks in front of the two options. Then restart IE.
4, enter in IE: http://www.my-debugbar.com/wiki/uploads/CompanionJS/dummy.htm, then click the Click me Link, If a small error appears in the upper-left corner or an error message is displayed in the console below, you have successfully installed it.

Hint: Microsoft Script Debugger Downloads to MS official website (requires genuine authentication of MS OS): http://www.microsoft.com/ Downloads/details.aspx?displaylang=zh-cn&familyid=e606e71f-ba7f-471e-a57d-f2216d81ec3d or into Baidu enter "Microsoft Script Debugger Download "Look for it."

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.