在IE中调试angular 2打字稿应用程序 [英] Debug angular 2 typescript application in IE

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

问题描述

我可以在Chrome和Firefox中轻松调试Angular 2(从Angular-CLI生成的项目中)打字稿文件,但无法在IE 11中调试任何打字稿文件.我在列表中看到的所有文件都是键入 .js 可以有人指导我做错什么或如何在IE中调试应用程序吗?

I can easily debug my Angular 2 (from an Angular-CLI generated project) Typescript files in Chrome and Firefox but I am unable to debug any of my typescript file in IE 11. All files I can see in the list are of type .js Can anyone guide me on what I am doing wrong or how to debug the application in IE?

推荐答案

在IE 11中,您需要在动态脚本"下的调试器中打开.ts文件.

in IE 11 you need to open your .ts file in debugger it found under "Dynamic Scripts".

向下滚动到并找到您的.ts文件,然后在调试中将其打开.

scroll down to and locate your .ts file and open it in debug.

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

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