Debugging via IEx

Hmm I don’t see how that would work in practice, for example if I put the following in .iex.exs:

require IEx
import IEx, only: [pry: 0]

.. then I won’t be able to call pry in my module functions (undefined function pry/0).