The related blog post can be read on my personal blog here.
This is a demo node.js server which just returns "hello world" after 3 seconds when you visit localhost:3000. It also has some NPM commands to enable debugging with the Node.js debugger and the chrome dev tools debugger.
- clone the repo locally
- make sure you use the node version > 20
- run
npm start
- go to localhost:3000 to trigger the endpoint
- you should see hello world after 3 seconds.
- To use the node CLI debugger run
npm run start:debug
- To use the chrome debugger run
npm run start:chrome-debug