However, I learned today you can do a little fancy footwork to be able to look at results from console.log inside of a capybara debugging session. (These tips are for debugging, you wouldn’t actually leave this stuff in your code.)
This only work if you are spec using capybara-webkit (remember :js => true must be set on your feature spec). See capybara-webkit docs for information about setting that up.
When you drop into the debugger, you can use page.driver.console_messages to see the messages. (In the example below, I’ve used pp which stands for “pretty print” to make it more readable)