Debugging TypeScript code with Visual Studio

前端 未结 6 1455
佛祖请我去吃肉
佛祖请我去吃肉 2020-11-30 20:13

Is there a way to debug TypeScript source in Visual Studio (instead of debugging the generated javascript)?

From the TypeScript language specifications:

6条回答
  •  不知归路
    2020-11-30 20:50

    short answer: Restart Visual Studio

    background: I had 2 visual studio 2015 instances with two different projects with TypeScript. The first started instance did not debug correctly, the second one did. All of the project settings were the same. I finally restarted the first instance and then it debugged TypeScript (finally).

提交回复
热议问题