Reputation: 9286
I'm trying to run this npm script with debugger:
"scripts": {
"start": "webpack-dev-server --inline --hot -d"
},
here's how it's configured:
here's how it fails:
Upvotes: 1
Views: 2637
Reputation: 50
You'll have to add another script to your package.json
that looks something like this (and change the configuration to point to it rather than start):
"startDebug": "node $NODE_DEBUG_OPTION ./node_modules/path/to/webpack-dev-server.js --inline --hot -d"
Alternatively, if you don't need debug capabilities, you should be able to run (not debug) that configuration without any problem.
Upvotes: 3