Template for bootstrap projects with Node.js and TypeScript.
Base example for my articles:
After starting the app with npm run dev:debug
, you've two options:
- For in-editor debug with VSCode, choose the process with the pid indicated in the debug output
- You can look at
chrome://inspect
to open a debugger panel using Google Chrome DevTools.
- Starting the app with
npm run dev:debug
- Go to the "Debug" panel in VSCode, press the green arrow for "Node: Nodemon" configutation and select your process
- VSCode will attach the debbuger and show you a floating panel
- Add a breakpoint anywhere and have fun debugging!
- On Chrome, you can go to
chrome://inspect
and clickinspect
on the "Remote Target" section pointing to your server
- Add a breakpoint anywhere and have fun debugging!