Elixir - 调试 iex.pry 会话提前关闭 - shell 进程退出,原因是:shutdown

问题描述

我最近开始研究 phoenix API,并尝试使用 require IEx 进行调试; IEx.pry.

每当我到达断点并点击“Y”启动交互式 shell 时,1-2 秒后我会收到:

Request to pry #PID<0.4584.0> at Web.Controller.create/3 (lib/bla..)
   20:   def create(conn,params,%{current_user: user}) do
   21:     require IEx; IEx.pry

Allow? [Yn] Y

Interactive Elixir (1.10.3) - press Ctrl+C to exit (type h() ENTER for help)
** (EXIT from #PID<0.4584.0>) shell process exited with reason: shutdown

我很感激你们中的任何人都无法根据我提供的信息告诉我为什么会发生这种情况,但我想知道我可以如何尝试调查这个问题?有没有办法跟踪堆栈跟踪或获得一些解释?

提前致谢

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)