Add RPC diagnostics with BD_RPC_DEBUG env var

- Add BD_RPC_DEBUG=1 for lightweight timing logs to stderr
- Log socket path, socket exists check, dial timing, health check timing
- Improve daemon status message when lock not held
- Helps field triage of connection issues without verbose daemon logs
- Fixes bd-j7e2
This commit is contained in:
Steve Yegge
2025-11-07 21:29:22 -08:00
parent 1c86fc1434
commit fe705befbe
4 changed files with 48 additions and 3 deletions

1
.beads/bd.sock.startlock Normal file
View File

@@ -0,0 +1 @@
36165