How do I step out of a loop with Ruby Pry?
I use:
disable-pry
This will keep the program running, but will keep it from continuing to stop execution. This is especially helpful when you are debugging in the console.
To exit Pry unconditionally, type
exit-program
Edit from @Nick's comment: Also works:
!!!