javascript-breakpoint-collection icon indicating copy to clipboard operation
javascript-breakpoint-collection copied to clipboard

Idea: Make it possible to deep watch an object

Open mattzeunert opened this issue 9 years ago • 2 comments

var obj = {
    hello: {
        world: {
            cake: 5
        }
    }
}
debugDeepPropertyAccess(obj, "hello");
obj.hello.world.cake = 8; // hits breakpoint

Would have to go through it recursively... And if new keys are added I think I'd have to use Proxy objects.

mattzeunert avatar Apr 28 '16 20:04 mattzeunert

I would like to take a look at this one first - a good for me.

gidztech avatar May 01 '16 23:05 gidztech

Tricky to do, but go ahead and have fun.

mattzeunert avatar May 02 '16 00:05 mattzeunert