I have a problem with logging out the contents of an array inside an object. The actual object looks like this
var stuff = { accepted: [ \'item1\', \'ite
If you like Chrome devtools, that folds your json objects and let you observe a lot of things, you can use the --inspect flag:
--inspect
node --inspect index.js
The console will then give you an URL and you just have to copy paste in Google Chrome to enjoy Google Chrome console.
More information on this link