Fire up your console:
response = app.response
response.body # if you need the HTML body
response.cookies # if you want a hash of the cookies
Plenty more here:
However, if you want to do some serious debugging you’ll probably want to use pry. See an earlier post.