DEV Community

Discussion on: Debugging a Node.js Express API in VSCode Debugger

Collapse
 
alexandrusimandi profile image
Alexandru Simandi

My recommendation is to use the vscode debugger in attach to process mode when you have many microservices, otherwise the F5 will accidentally start a random microservice.
So i do F5, and run node --inspect src/app.js