Last active
April 24, 2017 12:28
-
-
Save eddex/1f0cbbe2b4da1552fc5367237678fee5 to your computer and use it in GitHub Desktop.
how to debug log full object in Node.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const util = require('util') | |
console.log(util.inspect(myObject, {showHidden: false, depth: null})) | |
// alternative shortcut | |
console.log(util.inspect(myObject, false, null)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment