We recommend an excellent JS debugging tool (companion. JS) under IE)

Source: Internet
Author: User
All the Web developers know that JS Program Debugging is quite depressing, because the syntax of this language is more flexible first, it is a weak type of scripting language, and many errors cannot be controlled, the most painful thing is that there are no good debugging tools, and the current situation is a little better than before. There is firebug in Firefox, which is indeed a good JS debugging tool, however, it is very troublesome to use it in IE, and the effect is very poor. I am always struggling to find a good JS debugging tool under IE, which can automatically capture errors and locate the location and cause, I did not expect that I have accidentally found such a good tool today, so I am afraid to share it with others. I hope it will bring convenience to Web developers.

The Tool Name isCompanion. jsPlease note that this is not a JS file, but a name. It is installed and used as an IE Plug-in and must be used in conjunction with Microsoft Script debugger. Install this tool, however, when an error occurs on the page, a small error prompt will pop up in the upper left corner. Clicking it will display an error console under IE, just like the firebug console under ff. The error message is detailed.

The following is an example of an error message on the official website:

Official website address:Http://www.my-debugbar.com/wiki/CompanionJS/HomePage

The usage is as follows:
1. Download the Companion. js installation file and then install it.
2. Download and install Microsoft Script debugger. skip this step if your machine has been installed.
3. Open the IE menu "Tools"> "Internet Options"> "advanced" and find "Disable script debugging (Internet Explorer)" and "Disable script debugging (outside Internet Explorer) ", remove all the hooks before the two options, and then restart IE.
4. in IE, enter:Http://www.my-debugbar.com/wiki/uploads/CompanionJS/dummy.htmClick the click me link. If a small error prompt is displayed in the upper left corner or an error message is displayed in the following console, the installation is successful.

Tip:Microsoft Script debugger can be downloaded to the MS official website (requires ms OS genuine verification ):Http://www.microsoft.com/downloads/details.aspx? Displaylang = ZH-CN & familyid = E606E71F-BA7F-471E-A57D-F2216D81EC3D # filelistOr enter "Microsoft Script debugger download" in Baidu to search 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.