我的应用程序仅在调试模式下在IE中工作(适用于其他浏览器) [英] My application works in IE only in debug mode (works in other browsers)

查看:87
本文介绍了我的应用程序仅在调试模式下在IE中工作(适用于其他浏览器)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Internet Explorer(我试过9和8)中,我的应用程序无法在正常模式下运行。但是当我进入调试模式(按 F12 )时,它会解决一些小问题(现在无关紧要)。

In Internet Explorer (I tried 9 and 8) my application doesn't work in the normal mode. But when I get to debug mode (press F12), it works with some minor problems (which are irrelevant now).

这使得它我不可能调试我的应用程序,因为在调试模式下,它只是开始工作。

This makes it impossible for me to debug my application, because in debug mode, it just starts working.

这是我开发的应用程序

可能是什么解决方案?

推荐答案

您在脚本中使用 console.log 吗?
在IE浏览器中 console 对象仅在调试模式下存在于作用域中。
将您的代码更改为:

Do you use console.log in your script? In IE browsers console object exists in scope only in debug mode. Change your code to:

if (console) console.log('...')

编辑:我查看了你的应用程序并且你正在使用控制台日志。

I've looked at your application and you are using console log.

这篇关于我的应用程序仅在调试模式下在IE中工作(适用于其他浏览器)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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