Monday, January 29, 2018

nodeJS launch.json for debugging node js projects

1) Open cmd  at web api rootà run Tsc –w
2) now using debug options start debugging, updated launch.json and tsconfig.json are attached
It enables an auto watch.

Build process
1) npm run build
2) copy dist folder
3) run gulp and copy the web build inside public folder of server

4) run powershell on server, then run à node server.js

No comments:

Post a Comment