I'm setting up my first NestJS application. It's mostly a copy of nest-vite-node-starter.
I can start the server from VS Code and can use the debugger statement, but there is no visual indicator (first screenshot).
However, I can see the visual indicator when it hits a function outside the controller, although the column is a bit wrong (second screenshot).
Does someone know how to solve it?
My .vscode/launch.json:
{
"version": "0.2.0",
"configurations": [
{
"name": "Run Server",
"type": "node-terminal",
"sourceMaps": true,
"request": "launch",
"command": "yarn dev"
}
]
}
On the top of the stack trace for the first debugger it says that the line is 32, but there are only 21 lines in the file
AppController.getRandom (/workspace/figma/anima-public-api/src/app.controller.ts:32)