I\'m using Pry with my Rails application. I set binding.pry inside a loop in my model to try and debug a problem. For example:
binding.pry
(1..100).each do
To exit Pry unconditionally, type
exit-program
Edit from @Nick's comment: Also works:
!!!