Simple hello world project for running TypeScript with Node.js
- Install Node.js LTS (https://nodejs.org)
- Open a command window at the root of this project
- Run
npm install
- Run
tsc
to build the javascript to theout
folder - Run
node out/helloworld.js
- Open the project in VS Code
- Open the
helloworld.ts
file - Set a breakpoint on one of the lines of code
- Press
F5