How do you debug state changes using LiveViews?

Maybe you have some state update that gets unintentionally discarded? I.e. you do some computation but then forget to update the socket and return the updated state.

I’ve seen it happen sometimes :grin: