TypeScript 0.8.1 was just released and it now supports debugging right inside Visual Studio! You can read more about TypeScript and its latest changes in this post by Luke Hoban, PM of the TypeScript team and you can download TypeScript from here.
You can learn more about TypeScript in my upcoming course which I am co-authoring with Dan Wahlin for Plrualsight (coming later this year!).
I was having some difficulty getting the debugging to work, so I thought I might share what I found after talking to the TypeScript team (great guys, BTW). There are a few requirements to get debugging to work:
- Visual Studio 2012
- TypeScript 0.8.1
- Internet Explorer 9 or 10
Also, some earlier versions of Web Essentials 2012 may interfere with the TypeScript debugging. The good news is that Mads (program manager for Web Essentials) has quickly updated it and there is now a version that works great with TypeScript 0.8.1. I have had much success using Web Essentials 2012 version 184.108.40.206. I’ve also been able to debug TypeScript 0.8.1 code when no Web Essentials was installed.
The best news is that the TypeScript team and the Web Essentials teams mentioned to me that they will try to synch releases moving forward.