title: How to save the output of a console.log(object) to a file?
body: <p>I tried using <code>JSON.stringify(object)</code>, but it doesn't go down on the whole structure and hierarchy.</p>
  
  <p>On the other hand <code>console.log(object)</code> does that but I cannot save it. </p>
  
  <p>In the <code>console.log</code> output I can expand one by one all the children and select and copy/paste but the structure is to big for that.</p>