This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
generator-node-api-docker-1st-class-experience with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
NodeJS + Typescript + TSLint + Restify + MongoDB + Docker, With VS Code Automation = VSCode TypeScript Live Debug with Containers
npm install -g yo generator-node-api-docker-1st-class-experience
Create a new folder.
Put a breakpoint at line 21 of ./src/server.ts
Just press F5 key (The first launch task uses docker to debug, you have other two options to debug in launch dropdown)
Local debugdebug configuration).
Docker debugdebug configuration).
[docker] build-and-watchVSCode task and
Docker + watch debugdebug configuration).
docker-compose upcommand to create a production ready deployment.
Tasks: Run Taskwith pressing