pages/scripts/helpers/debug.js
function inspectObject(object, options) {
    var result = util.inspect(object, options);
    console.log(result);
    return result;
  }
function inspectObject(object, options) {
    var result = util.inspect(object, options);
    console.log(result);
    return result;
  }
function inspectObject ( object , options ) { var result = util . inspect ( object , options ) ; console . log ( result ) ; return result ; }
this solves circular reference in object
this solves circular reference in object