Node

Installing NPM Packages

If is it just a development dependency, use the –save-dev flag

Caroline@CAROL-HP ~/projects/jmj-dev-server (master)
$ npm install parcel-bundler --save-dev

If it is a run dependency, no flag is needed

How to run the debugger in VSCode for a Node application

  • Running Debug from the main menu was prompting for an environment (node.js)
  • Running by clicking the little bug wasn’t
  • Somehow, I have a launch.json file – don’t know if it is set up properly
  • At this point, the F5 shortcut (start debugging) is working without prompting for an environment