How to format the session debug information?

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.