WebSocket Connection Debugging Architecture Common Issues & Solutions 1. Connection Refused Symptoms : Plugin shows "Connecting..." indefinitely Check : Solution : Start CLI with 2. Connection Drops Symptoms : Works initially, then stops syncing Check : - Plugin UI console for WebSocket close events - CLI terminal for error messages Solution : Check for YAML parse errors blocking updates 3. Patches Not Applied Symptoms : Connected but canvas doesn't update Debug steps : 1. Check CLI output for patch generation 2. Check Plugin UI console for received messages 3. Check Plugin Main console for r…