Javascript debugging tool Companion. JS_javascript in IE

Source: Internet
Author: User
My friends who are doing web development know that debugging js programs is quite depressing, because the language syntax is flexible first, and it is a weak type of scripting language, many errors cannot be controlled. My friends who are doing web development know that debugging js programs is quite depressing, because the language syntax is flexible first, and it is a weak type of scripting language, many errors cannot be controlled. The most painful thing is that there are no good debugging tools. The current situation is better than before, and there is firebug in Firefox, this is indeed a good js debugging tool, but it is very troublesome to use in IE, and the effect is very poor, the monks have been struggling to find a good js debugging tool under IE, I was able to automatically capture errors and locate the locations and causes. I did not expect that I had accidentally found such a good tool today, so I did not dare to hide it and share it. I hope it will bring convenience to web developers.

The Tool Name isCompanion. JSNote: This is not a js file, but a name. It is installed and used as an ie Plug-in. It must be used in combination with Microsoft ScriptDebugger. 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.

Related Article

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.