I want to show variable values in console while my scenari开发者_如何学Goo performing. Cause I don`t know how to know it in another way.
logger.debug(whatever)
puts whatever
binding.pry # Links below
Pry and Rails and Pry
Or ruby debugger, or debug inside an IDE, or...
精彩评论