We have an elixir app running in prod. I can SSH onto this box, but is it possible to connect to the app with an iex session? When I run
./bin/foobar start_iex I get an error:
Protocol 'inet_tcp': the name email@example.com seems to be in use by another Erlang node
I know something about
--sname to connect to a session, but I do not know how the prod app was started. Is it possible to know the cookie or session from bash command line? And is better to SSH onto box or to connect to remote iex session directly from my local computer?