I came here looking for this:
import util from 'util' // Customize the log depth util.inspect.defaultOptions.depth = 5;
Maybe others will find it useful too