2

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?

Henry Yang
  • 2,283
  • 3
  • 21
  • 38

1 Answers1

3

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

aburr
  • 81
  • 5