如何将pry与RubyMine IRB控制台集成?

sim*_*imo 5 rubymine ruby-on-rails-3 pry

如何使用pry调试rails应用程序而不是RubyMine IRB控制台?我应该在我的gemfile中添加pry-rails和pry吗?