Node.js 6.5 getter/setter property is displayed as undefined in debugger panel

nodejs

#1

I am using node.js 6.5 to write a program
and i used the following code to ‘mirror’ a property of object

function proxyProperties(from, to , list) {
  for (let val of list) {
    ((val)=>{
      Object.defineProperty(to, val, {
        enumerable: true,
        get: function () { return from[val]; } ,
        set: function (newValue) { from[val] = newValue; } 
      });
    })(val)
  }
}

however, althrough the property is visable in immdiate console
it is broken in debug panel


all getter/setter property was listed as undefined