{"version":"2.1.301","anchor":"session-keepalive-heartbeat-debug-log-adds-refcount-detail","canonical_anchor":"session-keepalive-heartbeat-debug-log-adds-refcount-detail","heading":"Session keepalive debug log now reports more detail","tier":"internal","area":"Debug Logs","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.301\/e\/session-keepalive-heartbeat-debug-log-adds-refcount-detail","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.301","markdown":"### Session keepalive debug log now reports more detail\n\nThe keepalive heartbeat debug entry now records the main-loop count and the active reasons, not only the overall count\n\n**What**\n\nClaude Code writes the debug event `session_keepalive_heartbeat` while it keeps a session alive. A session is one run of Claude Code. The event logged only a single count before. It now also records a separate count for the main loop and the reasons that are keeping the session alive.\n\n**Why**\n\nThis makes it easier to work out why a remote session stayed alive or stopped.\n\n- Area: Debug Logs\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}