What you want is byebug.
byebug
By adding a line with byebug you will stop execution and can see what’s avaliable.