Visual Studio的科尔多瓦工具,在错误的文件设备调试破发点 [英] Visual Studio Cordova tools, device debug break points in wrong files

查看:137
本文介绍了Visual Studio的科尔多瓦工具,在错误的文件设备调试破发点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Visual Studio 2013更新4创建一个Apache科尔多瓦项目。当我调试设备(Android版的Nexus 6)我的断点不正确的文件。

I am using Visual Studio 2013 Update 4 to create an Apache Cordova project. When I am debugging on the device (Android Nexus 6) my breakpoints are not in the correct file.

我打字稿捆绑到一个文件中,它有,似乎有它列出了正确打字稿文件.MAP文件。

I have TypeScript bundling to a single file and it has a .map file that appears to have the correct TypeScript files listed in it.

什么我需要做的就是在科尔多瓦项目中的断点与打字稿正常工作?

What do I need to do to get the breakpoints in a Cordova project to work correctly with TypeScript?

这是一个角项目,并喜欢在我的主要app.ts打破文件而不是文件service.ts我加的断点,但手表都正常工作,它真的很难步,看看你在哪里是。

This is an angular project and it likes to break in my main app.ts file instead of the service.ts file I added the breakpoint to, but the watches all work correctly, its really hard to step through and see where you are.

推荐答案

有时也发生在我的系统。为了修复它,我通常清理浏览器缓存(如果在隐身/私有未运行),清洁液,然后重建它。

Sometimes happen also on my system. For fix it I usually clean the browser cache (if was not running in incognito/private), clean the solution and then rebuild it.

这篇关于Visual Studio的科尔多瓦工具,在错误的文件设备调试破发点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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