3

I see there is a couple of answers making custom setups for debugging a NestJs application. However, I noted that in the standard package.json there is a script available "start:debug": "nest start --debug --watch",.

I tried to create a launch.json with the following setup.

{
    "type": "node",
    "request": "launch",
    "name": "Debug Program",
    "cwd": "${workspaceFolder}",
    "runtimeExecutable":"npm",
    "runtimeArgs":["run","start:debug"],
    "autoAttachChildProcesses":true
}

This works fine until i start editing the code. After that breakpoints are completely ignored, even if I remove and add them again.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.