Running an IEx session within an app (running as a release)?

And I want to be able to run an IEx session in it, how can I do?

Hi @Sanjibukai something you can do is ssh into the machine and run rel/my_app/bin/my_app remote to connect to the running node. Does that work for you?

If you want to run iex locally in your local machine terminal to connect to the remote node, then that might be a bit more complicated, as it needs some SSH port forwarding, and passing iex options, but it’s also a possibility discussed here. This module could help you automate the port detection.

3 Likes