Reputation: 2590
Is there an easy way to step through TypeScript compiler (tsc.js) and observe how it works?
Upvotes: 6
Views: 3999
Reputation: 2590
One way is to use Windows Script Host with //x key. You need Visual Studio installed, and you can't use source maps to debug over the original source.
Another way is to debug it in Node.js using tools like Nodeclipse or similar.
The easiest way is to debug it using Developer Tools embedded in any modern browser. There is a web page emulating platform IO and allowing to run TSC over it: http://mihailik.github.com/tsc.browser/
Upvotes: 4