title: Debugging Jest test cases using node-inspector
body: <p>Is there a way to use node-inspector to debug unit tests with Jest? It would be nice to step through sometimes to see why tests are failing</p>
  
  <p>I have tried a few ways </p>
  
  <pre><code>node-debug jest --runInBand 
  </code></pre>
  
  <p>from the  as well as starting up the inspector first eg</p>
  
  <pre><code>$ node-inspector
  $ node --debug-brk .\node_modules\jest-cli --runInBand
  </code></pre>
  
  <p>and then navigate to <code>http://127.0.0.1:8080/debug?port=5858</code></p>
  
  <p>I have found that occasionally (1 in 10 or so times), the debugger opens the jest src files and its possible to debug them. Generally though, the scripts in the debugger only contain a 'no domain' folder and another irrelevant folder.
  Also the test scripts themselves are never loaded in the debugger.</p>
  
  <p>Has anyone tried this before?</p>