i tried this solution: how to debug typescript files in visual studio code
But if I make a breakpoint in my .ts files it's says the file not found for the debugger. The breakpoint in the .js files works. The Sourcemaps exists.
the launch configuration:
{
"name": "DEBUG",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/src/app.ts",
"stopOnEntry": false,
"args": [],
"cwd": "${workspaceRoot}",
"preLaunchTask": null,
"runtimeExecutable": null,
"runtimeArgs": [
"--nolazy"
],
"env": {
"NODE_ENV": "development"
},
"externalConsole": false,
"sourceMaps": true,
"outDir": "${workspaceRoot}/cmpl"
}