Lint - To to check the code for any errors/warnings run the following:
npm run lint
Start - To start the application in a production environmentrun the following:
npm run start
Dev - To start the development environmentwith nodeman run the following:
npm run dev
Debug - To start the debugging environment run the following:
npm run debug
- "cross-env" allows overriding of the defaults environment variable "LOG_LEVEL" to debug
- Instead of using "curl.exe" command is a direct replacement of "curl" command
- To hit the server with curl use this "curl.exe -i localhost:8080"
- Auto Attach Debugger: onlyWithFlag - Only processes launched with the --inspect or --inspect-brk flag will be debugged.