How to step into with the rails pry debugger?

Benjamin Crouzier picture Benjamin Crouzier · May 30, 2013 · Viewed 11.3k times · Source

The pry-debugger is very usefull. It has the following commands :

Pry.commands.alias_command 'c', 'continue'
Pry.commands.alias_command 's', 'step'
Pry.commands.alias_command 'n', 'next'
Pry.commands.alias_command 'f', 'finish'

However, I dont know how to step into. That is, when a function is called, I want the debugger to open up this function and show me its execution.

How can I do that ?

Answer

Benjamin Crouzier picture Benjamin Crouzier · May 30, 2013

As you said @deivid, step steps into, while next steps next. I was mistaken.