how to see object object in console code example Example: console.log printing object object require('util').inspect.defaultOptions.depth = null