javascript - How google chrome debugs typescript
问题描述
I have some angular applications which I did built using angular CLI which has typescript files. I always did debugged them from chrome, but chrome only understands javascript, right? Does anyone know how it manages to debug typescript?
解决方案
If you use Angluar with VS Code then you can use Debugger for Chrome extension to debug typescript in Chrome or any other target that supports the Chrome DevTools Protocol.
推荐阅读
- c++ - 不能再在 std::unique_ptr 之间转换
到 std::unique_ptr - r - 如何使用 grep 在循环中搜索字符串
- python - 从python中的对象引用一个类
- javascript - 用于匹配特定 url 的正则表达式
- python - 如何在列中创建具有某些值的数据框的子集?
- css - 如果您将鼠标悬停在按钮上但按钮仍然具有相同的背景图像,我如何制作弹出的渐变
- azure - Azure 部署失败:主机名 myapp.azurewebsites.net 无效
- maven - 具有 Maven 测试目标的“没有要运行的测试”
- javascript - 如何从MongoDB中的数组中提取对象
- c++ - 如何在源文件中隐藏模板类定义并避免链接问题?