Now that we're migrating to local-first, the browser has a lot more logic and moving parts. That also means I have bigger debugging needs. Earlier, we debugged by adding console.log() statements, and inspecting the browser’s network tab. But now that the WS protocol is binary, and we don't use HTTP for anything, we fully rely on manual debugs. That's a lot of work. I think we should log a lot more, and disable that in production.
Now that we're migrating to local-first, the browser has a lot more logic and moving parts. That also means I have bigger debugging needs. Earlier, we debugged by adding console.log() statements, and inspecting the browser’s network tab. But now that the WS protocol is binary, and we don't use HTTP for anything, we fully rely on manual debugs. That's a lot of work. I think we should log a lot more, and disable that in production.