title: How to console.log large object?
body: <p>I'm trying to see what the object contains</p>
  
  <p>With <code>console.log(obj)</code> the console cuts off from the lines and I can't see the entire structure.</p>
  
  <p>Then I tried writing it to a file</p>
  
  <pre><code>fs.writeFile('test', JSON.stringify(obj));
  </code></pre>
  
  <p>But I get some error about circular references.</p>
  
  <p>Is there any other way to view the object lol? The object is a "connection" from the nodejs websocket module. The docs are very poor and I can't seem to find the property that holds the IP address :(</p>