Console.dir profundidade
console.dir(myObject, { depth: null });
https://aybee.codes
console.dir(myObject, { depth: null });
console.log(JSON.stringify(myObject, null, 4));
const util = require('util')
console.log(util.inspect(myObject, {showHidden: false, depth: null}))
// alternative shortcut
console.log(util.inspect(myObject, false, null, true /* enable colors */))