I type next
on binding.pry or byebug to step over to the next line. I use step
to step into the procedure. How do I step BACK a line?
I've been looking through documentation with no luck. Help greatly appreciated. Thanks.
To exit byebug , use the quit command (abbreviated to q ). Normally, if you are in an interactive session, this command will prompt to ask if you really want to quit. If you want to quit without being prompted, enter quit unconditionally (abbreviated to q! ).
Calling binding. pry is essentially 'prying' into the current binding or context of the code, from outside your file. So when you place the line binding. pry in your code, that line will get interpreted at runtime (as your program is executed).
There is no way to step back when you using ByeBug.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With