skip to Main Content

Visual Studio Code – VSCode ts-node/register launches old compiled JS file instead of the specified TS file

I have the following launch.json for my TypeScript project in Visual Studio Code: { "version": "0.2.0", "configurations": [ { "name": "Launch task", "type": "node", "request": "launch", "program": "${workspaceFolder}/src/index.ts", "cwd": "${workspaceFolder}/src", "runtimeArgs": [ "-r", "ts-node/register" ], "env": { "NODE_ENV": "development" },…

VIEW QUESTION
Back To Top
Search