ruby-on-railsrubyrubygemsprybinding.pry

How to move to the next line in binding.pry ?


In byebug we can move to next line by typing 'n', similarly is there anyway to move to the next line in 'pry' ?

I have gone through there documentation but nothing's works out.


Solution

  • Check out pry-nav, it gives you methods like next and step, which should be what you're looking for.

    If you're in regular old Pry you can use exit to go to the next binding.pry or disable-pry to exit Pry entirely.