What's byebug's version of pry's whereami?

193 Views Asked by At

In Ruby, we have a gem called byebug and a gem called pry.

In pry, you can type whereami to see where you are, when you are in a binding.pry session.

How do you do the same thing in byebug?

1

There are 1 best solutions below

0
On BEST ANSWER

Something similar to whereami in byebug is list https://fleeblewidget.co.uk/2014/05/byebug-cheatsheet/

you can also type help when in a byebug session to get the list of commands