Click here to Skip to main content
15,881,588 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more: , +
I have the following situation:
•A large ASP.NET site that we want to redesign with typescript
•The typescript projects as part of the solution, but in different projects
•The typescript has been set to one only js file per project.
•I use visual studio 2012 and typescript 0.9.5
•I had enabled source map
•I copied the map and js fles to my web project.

I try to debug the ts either in Chrome and Visual studio 2012, but the breakpoint are ignored.

The question is: is it possible to debug directly the typescript ts files with this configuration? If it is not possible what I need to modify to do that. The project is big and it not a good solution to put the typescript part inside it, because the time of compilation of the web application is very long.

Thanks
Posted

1 solution

 
Share this answer
 
Comments
freedeveloper 9-Feb-14 11:41am    
Thanks for your answer, but I need to use VS2012, I had been read those answer before, but they were not my case. I have the typescript project in another project (the same solution, but another project). The question is if someone know if in this case it is possible debug the typescript files? I passed the map and of course the js files to the main project.

The idea is work the typescript project in the same sense as a C# project, this works very well, but I can only debug through the js files.
Mehdi Gholam 9-Feb-14 12:53pm    
Try the free express version on vs 2013 first, it might help.
freedeveloper 9-Feb-14 15:04pm    
Thanks for your answer, but my company works with VS2012. Are you test in VS2013 in the situation that I described and works? That is getting the typescript project separated in other project and used simple file output?

Thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900