I am testing the nest.js framework but I am struggling to run it with VSCode so that I can properly debug my code. This is pretty much the same issue as described here Running n
For people using Nrwl:
Launch.json (courtesy of @ghiscoding )
{ "type": "node", "request": "attach", "name": "Attach NestJS WS", "port": 9229, "restart": true, "stopOnEntry": false, "protocol": "inspector" }
Terminal
ng serve nestjs_project --port 9229