php_phongo_session_get_debug_info currently branches for every field and reports NULL if the session has ended (i.e. internal client_session pointer is null).
We should consider just changing the reported debug info for sessions that have been ended. For example, we might omit all of these fields and report an "ended" field as true.