When debugging using console.log(), how can I get the full object?
console.log()
const myObject = { \"a\":\"a\", \"b\":{ \"c\":\"c\", \"d\":
Since Node.js 6.4.0, this can be elegantly solved with util.inspect.defaultOptions:
require("util").inspect.defaultOptions.depth = null; console.log(myObject);