Studio visual code - node js error with typescript debug configuration

I am using Visual Studio code editor 0.5 version. My debug configuration file:

{
     "name": "Launch app",
     "type": "node",
     "program": "src/server/app.ts",
     "stopOnEntry": false,
     "sourceMaps": true,
     "outDir": "src/server/"
}

I compiled all the files, but when I run debugging, I get this error: node js error

But if I set sourceMaps to false and go back to src / server / app.js, it works and I get a breakpoint in my app.js. Is this a visual studio code error?

+4
source share
1 answer
. gulp - typescript gulp -sourcemaps , gulp -sourcemaps tsc-, . , gulp -sourcemaps. , gulp -sourcemaps , vs.
0

All Articles