Currently, I am utilizing babel-cli to compile the source code of my local NPM dependency.
This is how my package.json file looks like:
"main": "lib/index.js",
"scripts": {
"dev": "babel src --watch -d lib --source-maps inline",
},
My other application is referencing this local NPM dependency. To debug it locally, I now need to use npm link
. How can I effectively debug it with source maps?