When I start my app using 'npm start' at the command line I can browse it at :3000
.. but not when I start it using 'node app.js'
when I try 'node --debug app.js' I get a console window with the message
"Debugger listening on port 5858"
With Visual Studio and the node toolkit I get the same. With Eclipse and Enide I get the same.
I've tried using Nodes built in command line debugger, but after the debug> prompt appears issuing the continue or next step commands does nothing, and I can't browse the app at :3000
I've installed node-inspector, and after 'node --debug app.js' I can see app.js in the node-inspector chrome tab :8080, but can't browse my app at :3000 and can't get breakpoints to work.
I guess that to get debugging working I need 'node app.js' to run, and not be using 'npm start'..
What important node configuration detail have I missed?
Why is my app not browsable when using 'node app.js' ?
Any advice is appreciated..