console.log prints [object Object] response code example Example: console.log printing object object require('util').inspect.defaultOptions.depth = null