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

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

问题描述

我可以在 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 typescript 应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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