title: Visual Studio code breakpoint not working on Node.js using TypeScript
body: <p>I have tried many solutions but not anyone works for me. The code executes, but I am not able to place breakpoints &amp; debug it. Could you please help me?</p>
  
  <p>I have tried the following VSCode configuration script:</p>
  
  <pre><code>{
        "type": "node",
        "request": "launch",
        "name": "Typescript Node JS",
        "program": "${workspaceFolder}/build/server",
        "preLaunchTask": "npm: build",
        "sourceMaps": true,
        "stopOnEntry": false,
        "internalConsoleOptions": "openOnSessionStart",
        "outFiles": [
            "${workspaceFolder}/out/**/*.js"
        ]
      },
      {
        "name": "ts node",
        "type": "node",
        "request": "launch",
        "args": [
          "${workspaceFolder}/server"
        ],
        "runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
        "sourceMaps": true,
        "cwd": "${workspaceRoot}",
        "protocol": "inspector"
      }
  </code></pre>