最佳答案
Is there a way to debug TypeScript source in Visual Studio (instead of debugging the generated javascript)?
From the TypeScript language specifications:
TypeScript optionally provides source maps, enabling source-level debugging.
I was therefore expecting to be able to place breakpoints in ts code and be able to debug it, but it doesn't work. I didn't find any other mentions of debugging in the specs. Is there anything I should do to make this work? Perhaps the word "optionally" hints that I need to do something for it to work... Any suggestions?