Hi I am a newbie of developing magento pluin and I found that the knockoutjs is cool on tracking the variable state changed and you can add subscription on observable variable to fire customize code when the value is changed.
However I also got an headache on tracing the code due to the variable can be subscribed everywhere in the project, and sometimes even got some looping problem of caused by multiple subscribes of variable are affecting each other and fall into a circular sequence.
e.g.
a = ko.subscribe((a)=>{
..... other code
b(someValue)
});
b.subscribe((b) => {
.....other code
a(someValue)
});
Is there any one know any tools can help for debuging or any good practice or suggestion for developing with knockoutjs in magento?