# How to format the session debug information?

**URL:** <https://www.ruby-forum.com/t/how-to-format-the-session-debug-information/162742>\
**Category:** Rails\
**Created:** [March 13, 2009, 10:41am UTC](https://www.ruby-forum.com/t/how-to-format-the-session-debug-information/162742 "2009-03-13T10:41:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![leon](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/dc4da7/32.png) [@leon](https://www.ruby-forum.com/u/leon)\
**Post date:** [March 13, 2009, 10:41am UTC](https://www.ruby-forum.com/t/how-to-format-the-session-debug-information/162742/1 "2009-03-13T10:41:40Z")

</div>

Hi there,

I want to get Rails dumps of the session on my pages by \<%= debug  
(session) %\> with Rails 2.2.2. But it returns a lot of information on  
my pages. It is un-readable. Can I format or filter the session debug  
information?

Thank you.
