If you keep type 'n',
you will be in the loop for 100 times,
How could I leave the each loop and continue to keep debugging from line 7 without exiting the loop then run the remain code automatically,
The behavior of exit
!!!
are not suit for me,
Because I want to keep debugging the code after I exit the loop.
1: require 'pry'
2:
=> 3: binding.pry
4: (1..100).each do |x|
5: print x
6: end
7:
8: print "hi"