<%= session.inspect %>
To those reading, I found another answer that also seems to work: <%= debug session %>.
<%= debug session %>