Visual Studio Cordova tools, device debug break points in wrong files

試著忘記壹切 提交于 2019-12-22 10:34:29

问题


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.

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?

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.


回答1:


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.



来源:https://stackoverflow.com/questions/28836609/visual-studio-cordova-tools-device-debug-break-points-in-wrong-files

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!