If you read installation instruction of node-inspector you would think that the only way to use it is to install it globally. Here I want to suggest embedding it in the project. Installation: $ npm install -g node-inspector $ npm install node-inspector --devDependencies After doing that, you need to add "debug" line to "scripts" part of package.json "scripts": { "start": "node app.js", "debug": "./node_modules/.bin/node-debug app.js" } And run it: $ node-debug app.js $ npm run debug It has downsides, that is obvious, but in my opinion it has also big advantages. New person on the team does not need to follow long readme of global modules to install - and remember how all of them are supposed to be run. Another advantage is ignoring all the problems that you may have with sudo (needing it to install anything global). In my opinion it is also simpler and more convenient. All commands ...