session debugging