【问题标题】:Debug Websockets App with Intellij in Ruby Project using Puma and Bundler使用 Puma 和 Bundler 在 Ruby 项目中使用 Intellij 调试 Websockets 应用程序
【发布时间】:2014-03-04 09:41:28
【问题描述】:

我正在关注 Heroku Ruby 中的 websockets 指南https://devcenter.heroku.com/articles/ruby-websockets。为此,我必须从终端执行 bundle exec puma -p $Port 并且我的应用程序运行良好。

问题是我想从 Intellij 调试我的应用程序,但我不知道如何在这个 IDE 中设置我的运行配置。我的项目不是 Rails 项目,它与 Heroku 示例非常相似。

提前致谢。

【问题讨论】:

    标签: ruby intellij-idea websocket bundler puma


    【解决方案1】:

    您可以创建“Rack”类型的运行配置并将 Rack 配置文件设置为您的 config.ru 文件。

    【讨论】:

      猜你喜欢
      • 2017-04-28
      • 2017-03-08
      • 1970-01-01
      • 2016-04-23
      • 1970-01-01
      • 2017-02-07
      • 2021-11-22
      • 1970-01-01
      • 2021-03-14
      相关资源
      最近更新 更多