在IE中调试JavaScript [英] Debugging JavaScript in IE

查看:150
本文介绍了在IE中调试JavaScript的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在IE中调试我的JavaScript,但我不知道从哪里开始。有谁能够帮助我?我认为这只是一个小错误,但开发人员的工具有点无用。



一个意外的标识符错误来了当您转到 http://songtagapp.com/ 时。我认为这是与 tpl!插件我正在使用RequireJS,但这是我可以告诉的。

解决方案

几个选项:




  • 打开IE开发工具(通过在浏览器中点击F12),并使用提供的JavaScript调试器。要更好地了解它,请参阅使用JavaScript调试器的MSDN参考

  • 安装调试栏,其中提供了扩展功能集内置开发人员工具。

  • 安装 IE测试员,模拟各种IE实例(版本),并使用其内置的调试栏。通过这种方法,您还可以针对特定于版本的问题。


I am trying to debug my JavaScript in IE but I have no idea where to start. Can anybody help me? I think it's only a small error, but the developer tools are a bit useless.

An unexpected identifier error comes up when you go to http://songtagapp.com/. I think it's something to do with the tpl! plugin I am using for RequireJS, but that's all I can tell.

解决方案

Several options:

  • Open the IE developer tools (by hitting F12 while in the browser), and use the provided JavaScript debugger. To get to know it better, see the MSDN reference on using the JavaScript debugger.
  • Install Debug Bar, which provides an extended feature-set to the built-in developer tools.
  • Install IE Tester, which emulates various IE instances (versions), and use its built-in Debug Bar. With that approach, you can also pin-point version-specific problems.

这篇关于在IE中调试JavaScript的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆