Skip to content

Template for bootstrap projects with Node.js and TypeScript

Notifications You must be signed in to change notification settings

oieduardorabelo/node-typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-typescript

Template for bootstrap projects with Node.js and TypeScript.

Base example for my articles:

Debugging

After starting the app with npm run dev:debug, you've two options:

  1. For in-editor debug with VSCode, configuration already included in .vscode/launch.json. It will attach the debbuger to the running process.
  2. You can look at chrome://inspect to open a debugger panel using Google Chrome DevTools.

Screenshots

  • 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 click inspect on the "Remote Target" section pointing to your server

  • Add a breakpoint anywhere and have fun debugging!

Previous Versions