Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I exit binding.pry without exiting my rails server

When I'm going through a loop and I've seen what I needed to see in the terminal, I don't want to keep having to continue to finish off the loop, I just want to exit back to my terminal. But when I type exit! it exits out of the server as well. If I type just exit without the bang, it keeps going thru the loop.

like image 948
stackjlei Avatar asked Dec 07 '25 08:12

stackjlei


1 Answers

The method or command you are looking for is:

disable-pry

You can find this command by typing help in pry console. Good luck.

like image 90
Hank Beaver Avatar answered Dec 08 '25 21:12

Hank Beaver



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!