I am having a problem setting breakpoints in my TypeScript nodejs app in Visual Studio Code. I have followed the instructions on the Visual Studio Code site without success.
Here is my tasks.json:
{
"version": "0.1.0",
"command": "tsc",
"isShellCommand": true,
"showOutput": "always",
"args": ["-p", "src"],
"problemMatcher": "$tsc"
}
and here is my tsconfig.json:
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"moduleResolution": "node",
"sourceMap": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"removeComments": false,
"noImplicitAny": false
},
"exclude": [
"node_modules"
]
}
It appears as if the source maps are being generated; however attempting to put a breakpoint in any TypeScript file results in a grey circle...what gives? What am I missing?