# Debugging via IEx

**URL:** <https://forum.elixirforum.com/t/debugging-via-iex/16010>\
**Category:** Discussions\
**Tags:** iex, debugging, discussion\
**Created:** [August 22, 2018, 1:37pm UTC](https://forum.elixirforum.com/t/debugging-via-iex/16010 "2018-08-22T13:37:17Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![thomasbrus](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/thomasbrus/32/40196_2.png) [@thomasbrus](https://forum.elixirforum.com/u/thomasbrus)\
**Post date:** [August 22, 2018, 7:31pm UTC](https://forum.elixirforum.com/t/debugging-via-iex/16010/5 "2018-08-22T19:31:25Z")

</div>

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

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

```

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

---

_[View the full topic](https://forum.elixirforum.com/t/debugging-via-iex/16010)._
