# How to dump hxd response to the console?

**URL:** <https://www.ruby-forum.com/t/how-to-dump-hxd-response-to-the-console/104072>\
**Category:** Rails\
**Created:** [May 14, 2007, 2:38am UTC](https://www.ruby-forum.com/t/how-to-dump-hxd-response-to-the-console/104072 "2007-05-14T02:38:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nuno](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/65b543/32.png) [@nuno](https://www.ruby-forum.com/u/nuno)\
**Post date:** [May 14, 2007, 2:38am UTC](https://www.ruby-forum.com/t/how-to-dump-hxd-response-to-the-console/104072/1 "2007-05-14T02:38:20Z")

</div>

Hi, I would like to know how I can dump to the console the content of  
the response of a xhr call during a functionnal test ?

I need to check the javascript code generated by the controller

Thanks
