Output the full object details in Node.js’s Console
You have an object with deep hierarchy and want to see the values. The usual console.log
will show only the values of the immediate children. Instead, use
console.dir(response, { depth: null })
You have an object with deep hierarchy and want to see the values. The usual console.log
will show only the values of the immediate children. Instead, use
console.dir(response, { depth: null })
Comments