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.
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.
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.
You can't. pry doesn't have any command who let you jump to the next line. So, your alternatives are:
pry.binding
on the next breakpoint and then using exit
to jump between bingings.pry-byebug
or pry-nav
who adds the next
command to jump to the next line.pry-byebug
or pry-debugger
who adds the break
command to add breakpoints like break <Class#method>
.Installing pry-byebug
is the best solution for your case, you can't achieve this with just pry
.
you can exit
to continue the code flow