我无法让我的 ruby-debug-ide 正常工作。我有一个基本的 Rails 应用程序,我想在 RubyMine 中进行调试。在启动 RubyMine 之前,我需要在我的 vagrant VM 中启用 rdebug-ide。当我导航到我的项目目录时,我已经在线阅读,我需要输入以下命令:
rdebug-ide --port 1236 --dispatcher-port 26166 --host 0.0.0.0 - bin/rails s -b 0.0.0.0
Run Code Online (Sandbox Code Playgroud)
我还尝试了上述命令的修改版本:(额外的破折号)
rdebug-ide --port 1236 --dispatcher-port 26166 --host 0.0.0.0 -- bin/rails s -b 0.0.0.0
Run Code Online (Sandbox Code Playgroud)
我得到的结果是:
乍一看这看起来不错,但是服务器永远不会启动。它从不显示服务器信息,它只是坐在这里并挂起,直到我按 CTRL+C 退出服务器。我无法让 rdebug-ide 与 Rails 结合使用。有谁知道我该如何解决这个问题?