Using SourceMaps with Node.js

Adding Source Maps

  1. add package source-map-support
  2. when you run babel, use the option --source-maps
  3. when you run node, use the option -r source-map-support/register