title: node-inspector fails to connect to node
body: <p>I run node with </p>
  
  <pre><code>node --debug app
  OR
  node --debug-brk app
  </code></pre>
  
  <p>it responds</p>
  
  <pre><code>debugger listening on port 5858
  Express server listening on port 1338
  </code></pre>
  
  <p>I now start node-inspector</p>
  
  <pre><code>node-inspector --web-port=5859
  </code></pre>
  
  <p>It responds with </p>
  
  <pre><code>Node Inspector v0.3.2
  info  - socket.io started
  Visit http://127.0.0.1:5859/debug?port=5858 to start debugging.
  </code></pre>
  
  <p>Open chrome and go to </p>
  
  <pre><code>http://127.0.0.1:5859/debug?port=5858
  </code></pre>
  
  <p>Console logs the following</p>
  
  <p><img src="https://i.stack.imgur.com/UnQJz.jpg" alt="enter image description here"></p>
  
  <p>Using TCPview, it shows node is listening to port 5858 but it has no established connection.
  When the connection is attempted this message appears on the node console</p>
  
  <pre><code>}Content-Length: 108
  </code></pre>
  
  <p>Nothing else.
  I then tried to get the debugger to run on a different port:</p>
  
  <pre><code>node --debug=5000 app
  node-inspector --debug-port=5000 --web-port=5859 
  </code></pre>
  
  <p>but node-inspector would not connect
  EDIT:
  Well the error is not with node. I installed the Eclipse node environment and was able to debug. Decided to give node-inspector the benefit of the doubt and reinstall.</p>
  
  <pre><code>npm uninstall node-inspector
  npm WARN uninstall not installed in C:\Program Files\nodejs\node_modules: "node-inspector"
  </code></pre>
  
  <p>re-installed node
  re-installed chrome
  No luck same problem.</p>
  
  <p>So Eclipse it is.</p>