This will be a completely separate, new application. We will need to create a new root directory. We are going to purposefully create issues so that we can investigate them. We are going to introduce two Node packages, node-inspector
and webkit-devtools-agent
. Add these two packages to our new package.json
file under devDependencies
. We will build small example Express applications to test with. Here are the versions at the time of writing this:
node-inspector
: 0.7.4webkit-devtools-agent
: 0.2.5express
: 4.5.1
Then, just run npm install
. We may want to install node-inspector
and webkit-devtools-agent
globally by using the global
flag with npm install
. This will allow us to debug any Node.js application on our machine.