javascript-breakpoint-collection
javascript-breakpoint-collection copied to clipboard
Idea: Make it possible to deep watch an object
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.
I would like to take a look at this one first - a good for me.
Tricky to do, but go ahead and have fun.