Puma将在开发模式下打破断点

时间:2017-04-05 16:02:52

标签: ruby-on-rails

这是我的puma配置。 binding.pry赢得了puma,我必须删除puma配置文件以再次启用breakpoint

    APP_NAME = "SAMPLE"
    app_path = File.expand_path('../', File.dirname(__FILE__))
    pidfile "/tmp/puma.#{APP_NAME}.pid"
    bind "unix:///tmp/puma.#{APP_NAME}.sock"
    stdout_redirect "/tmp/puma.stdout.#{APP_NAME}.log", "/tmp/puma.stderr.#{APP_NAME}.log", true
    workers Integer(ENV['WEB_CONCURRENCY'] || 4)
    threads 8, 16
    preload_app!

    rackup      DefaultRackup
    port        7617
    rails_env = ENV['RAILS_ENV'] || "development"
    environment rails_env

    activate_control_app

0 个答案:

没有答案