I like the KO framework, but debugging is sometimes just a nightmare for me. In the case of regular javascript code, I can set a breakpoint and go there at runtime and see what is wrong, but how to debug knockout expressions? In most cases, binding errors are the result of the absence of any character or incorrect syntax, and sometimes a knockout shows me obvious errors regarding this problem, but sometimes not, the expected data simply does not appear on the page, or error messages such as a “binding expression” not like that ", even messages like" abc function not found "do not allow me to immediately understand what happened, because I don’t know what level of runtime of my KO model passes. Ideally, there should be a browser plugin that allows you to place breakpoints or something in any KO expression and see the context with which it works at run time. Anything like this on the market or expected? Any ideas on improving the debugging process?
source share