In your package.json define the script
"scripts": {
"debug": "node --inspect server.js"
}
And then you can use npm’s run-script
npm run-script debug
or the shorter version
npm run debug
In your package.json define the script
"scripts": {
"debug": "node --inspect server.js"
}
And then you can use npm’s run-script
npm run-script debug
or the shorter version
npm run debug