The author is focusing on the server side but similar issues imho. are on the client side too. I've recently stumbled into some reactive compiled TS code while debugging and it became frustrating very quickly. The challenge to debug async code is a hard one - at times it seems promises and observable may just make easier to build a larger callback hell instance.
Besides the probably never fully granted wish of being able to replay considering the standardization of these patterns is there anything we can do:
- making the promise easier debug-able by changing the promise itself?
- making the environment more supportive of debugging (approach like zone?)?
- creating promise et. al. awareness in debuggers?
What are the existing best practices and how can we improve on them?
Besides the probably never fully granted wish of being able to replay considering the standardization of these patterns is there anything we can do:
- making the promise easier debug-able by changing the promise itself?
- making the environment more supportive of debugging (approach like zone?)?
- creating promise et. al. awareness in debuggers?
What are the existing best practices and how can we improve on them?