dannycoates/node-inspector — Issue #72: debugging not working at all
Author: amih
Created: 2011-11-08 08:24:43+00:00
State: open

When I run:

> node --debug myapp.js

The app starts ok but navigating chrome to the debugger brings up error 404: Oops! Google Chrome could not connect to localhost:8080

I probably messed up something in my Ubuntu npm packages, I don't know what because it used to work great!

I found a workaround on http://codebetter.com/glennblock/2011/10/13/using-node-inspector-to-debug-node-js-applications-including-on-windows-and-using-ryppi-for-modules/

I can make the debugger work by starting it in the background:

> node-inspector &

and then running my app:

> node --debug myapp.js

Now I can navigate to http://localhost:8080/ and enjoy the awesome debugger once again - thank you!

My question is: do you know what went wrong? How can I fix this?