title: Inspecting variables using node's built-in debugger?
body: <p>I am trying to use the node debugger.
  I am running <code>node debug server</code> to run my server. Then I have:</p>
  
  <pre><code>...
  var Workspace = mongoose.model('Workspace');
  debugger;
  </code></pre>
  
  <p>At this point, as expected, when I run this code the debugger pops up.
  However, I would expect it to have all of the current variables set, like it happens in Chrome's own debugger.</p>
  
  <p>But:</p>
  
  <pre><code>break in hotplate/node_modules/bd/lib/bd.js:133
  132 
  133   debugger;
  134 
  135   // Delete the ID and the version since there's no point,
  debug&gt; Workspace
  ReferenceError: Workspace is not defined
  </code></pre>
  
  <p>So... how do I <em>actually</em> inspect the current variables?</p>
  
  <p>Bonus question: is there ANY way to use Chrome's developers tools (CTRL-J) so that it connects to the node and works that way? (I am aware of node-inspector, but it's very outdated and...)</p>