Proposal: import __MODULE__ automatically in pry

40 views
Skip to first unread message

Joshua Hunter

unread,
Aug 7, 2022, 11:36:41 AM8/7/22
to elixir-lang-core
I'm fairly new to the language and am coming from ruby. In order to get the behavior that I'm used to from ruby's version of pry in elixir, I always have to call `import __MODULE__` when I get into a pry session.  With debugging being a primary focus of 1.14, I wonder if automatically importing the module that IEx.pry is called in could make it into the release or some future one.

Thanks
Reply all
Reply to author
Forward
0 new messages