What the difference between "step" and "next" in "byebug". When should one use one over the other?
Asked
Active
Viewed 2,303 times
1 Answers
2
step: Step execution into the next line or method. Takes an optional numeric argument to step multiple times.
next: Step over to the next line within the same frame. Also takes an optional numeric argument to step multiple lines.
Please check through pry-byebug
gem documentation for futher details:

Jay
- 21
- 4