Debugging NodeJS Services Using Breakpoints in VS Code

Brian Jenney
3 min readFeb 10, 2021

Stop using 108 console logs in your NodeJS app to debug your API endpoints. I used to employ this same method of saturating my code with logs until a wiser developer showed our team how to pause execution using VSCode.

The problem with relying on tons of logging is that it quickly becomes confusing, especially when dealing with asynchronous logic. Now your console log in…

--

--

Brian Jenney

full-stackish developer, late bloomer coder and power google user and owner of Parsity.io