In my vscode app I have a folder called apiEngine/
In this folder is my node app.
Why does it not debug in vscode?
.vscode\launch.json
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Build Project",
"program": "${workspaceFolder}\\apiEngine\\src\\index.ts",
"preLaunchTask": "npm: build",
"sourceMaps": true,
"smartStep": true,
"internalConsoleOptions": "openOnSessionStart",
"outFiles": [
"${workspaceFolder}/apiEngine/dist/**/*.js"
]
}
]
}
.vscode\tasks.json
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "build",
"path": "apiEngine/",
"group": "build",
"problemMatcher": []
},
{
"type": "typescript",
"tsconfig": "apiEngine/tsconfig.json",
"problemMatcher": [
"$tsc"
],
"group": "build"
}
]
}

