Debugging 如何在meteor中调试typescript

Debugging 如何在meteor中调试typescript,debugging,meteor,typescript,Debugging,Meteor,Typescript,使用Webstrom,我可以调试meteor应用程序的正常服务器端和客户端javascrpt。 但是在使用typescript的情况下,我如何进行调试呢 我只是从这里运行meteor typescript示例 我只是在代码中设置了一个带有调试会话的断点: 但是什么也没发生。没有击中断点 为了编译typescript,我正在使用meteor add meteortypescript:compiler,所以它是在meteor应用程序启动时自动完成的 这就是我得到的js输出: (function()

使用Webstrom,我可以调试meteor应用程序的正常服务器端和客户端javascrpt。 但是在使用typescript的情况下,我如何进行调试呢

我只是从这里运行meteor typescript示例

我只是在代码中设置了一个带有调试会话的断点:

但是什么也没发生。没有击中断点

为了编译typescript,我正在使用meteor add meteortypescript:compiler,所以它是在meteor应用程序启动时自动完成的

这就是我得到的
js
输出:

(function(){

/////////////////////////////////////////////////////////////////////////
//                                                                     //
// helloWorld.js                                                       //
//                                                                     //
/////////////////////////////////////////////////////////////////////////
                                                                       //
'use strict';                                                          // 1
var HelloWorld = (function () {                                        // 3
    function HelloWorld(name) {                                        //
        if (name === void 0) { name = 'World'; }                       //
        this.name = name;                                              //
    }                                                                  //
    HelloWorld.prototype.toString = function () {                      //
        return "Hello " + this.name;                                   //
    };                                                                 //
    return HelloWorld;                                                 //
})();                                                                  // 9
console.log(new HelloWorld().toString());                              // 11
//# sourceMappingURL=helloWorld.js.map                                 //
/////////////////////////////////////////////////////////////////////////

}).call(this);
我的
.tsconfig
配置:

{
  "diagnostics": true,
  "module": "none",
  "alwaysThrow": true,
  "noResolve": true,
  "useCache": false,
  "sourceMap": true
}

sourceMap
在您的
中需要为真。tsconfig

sourceMap
在您的
中需要为真。tsconfig

只需将其输入即可。看不出有什么区别,把它放进去。看不出有什么区别。