Unable to debug Rails app running on docker from Rubymine

I am trying to start my debugger for my rails app thats running on docker. I followed the tutorial on this post and created a new remote sdk based on my docker-compose.yml file. I am running Rubymine 2018.1

 

 

 

If i run the app, it runs fine, but in debugger mode I get the below. Am I missing some configuration thats preventing to from connecting. Thanks

[36mscinote_web_development |[0m Fast Debugger (ruby-debug-ide 0.6.1, debase 0.2.2, file filtering is supported) listens on 0.0.0.0:1234
[36mscinote_web_development |[0m => Booting Puma
[36mscinote_web_development |[0m => Rails 5.1.1 application starting in development on http://0.0.0.0:3000
[36mscinote_web_development |[0m => Run `rails server -h` for more startup options
[36mscinote_web_development |[0m [sciNote] Generating symlinks for addons!
[36mscinote_web_development |[0m [sciNote] Copying features from addons!
[36mscinote_web_development |[0m [1] Puma starting in cluster mode...
[36mscinote_web_development |[0m [1] * Version 3.11.2 (ruby 2.4.3-p205), codename: Love Song
[36mscinote_web_development |[0m [1] * Min threads: 5, max threads: 5
[36mscinote_web_development |[0m [1] * Environment: development
[36mscinote_web_development |[0m [1] * Process workers: 2
[36mscinote_web_development |[0m [1] * Preloading application
[36mscinote_web_development |[0m [1] * Listening on tcp://0.0.0.0:3000
[36mscinote_web_development |[0m [1] Use Ctrl-C to stop
[36mscinote_web_development |[0m Fast Debugger (ruby-debug-ide 0.6.1, debase 0.2.2, file filtering is supported) listens on 0.0.0.0:46329
[36mscinote_web_development |[0m Fast Debugger (ruby-debug-ide 0.6.1, debase 0.2.2, file filtering is supported) listens on 0.0.0.0:41581
[36mscinote_web_development |[0m 9: connection failed(1)
[36mscinote_web_development |[0m Exception: Connection refused - connect(2) for "172.18.0.1" port 26168
[36mscinote_web_development |[0m /usr/local/bundle/gems/ruby-debug-ide-0.6.1/lib/ruby-debug-ide.rb:153:in `initialize'
[36mscinote_web_development |[0m /usr/local/bundle/gems/ruby-debug-ide-0.6.1/lib/ruby-debug-ide.rb:153:in `open'
[36mscinote_web_development |[0m /usr/local/bundle/gems/ruby-debug-ide-0.6.1/lib/ruby-debug-ide.rb:153:in `block in notify_dispatcher'
[36mscinote_web_development |[0m /usr/local/bundle/gems/ruby-debug-ide-0.6.1/lib/ruby-debug-ide.rb:151:in `times'
[36mscinote_web_development |[0m /usr/local/bundle/gems/ruby-debug-ide-0.6.1/lib/ruby-debug-ide.rb:151:in `notify_dispatcher'
[36mscinote_web_development |[0m /usr/local/bundle/gems/ruby-debug-ide-0.6.1/lib/ruby-debug-ide.rb:116:in `block in start_control'
[36mscinote_web_development |[0m /usr/local/bundle/gems/logging-2.0.0/lib/logging/diagnostic_context.rb:448:in `block in create_with_logging_context'
[36mscinote_web_development |[0m 12: connection failed(1)
[36mscinote_web_development |[0m Exception: Connection refused - connect(2) for "172.18.0.1" port 26168
[36mscinote_web_development |[0m /usr/local/bundle/gems/ruby-debug-ide-0.6.1/lib/ruby-debug-ide.rb:153:in `initialize'
[36mscinote_web_development |[0m /usr/local/bundle/gems/ruby-debug-ide-0.6.1/lib/ruby-debug-ide.rb:153:in `open'
[36mscinote_web_development |[0m /usr/local/bundle/gems/ruby-debug-ide-0.6.1/lib/ruby-debug-ide.rb:153:in `block in notify_dispatcher'
[36mscinote_web_development |[0m /usr/local/bundle/gems/ruby-debug-ide-0.6.1/lib/ruby-debug-ide.rb:151:in `times'
[36mscinote_web_development |[0m /usr/local/bundle/gems/ruby-debug-ide-0.6.1/lib/ruby-debug-ide.rb:151:in `notify_dispatcher'
[36mscinote_web_development |[0m /usr/local/bundle/gems/ruby-debug-ide-0.6.1/lib/ruby-debug-ide.rb:116:in `block in start_control'
[36mscinote_web_development |[0m /usr/local/bundle/gems/logging-2.0.0/lib/logging/diagnostic_context.rb:448:in `block in create_with_logging_context'
[36mscinote_web_development |[0m 9: connection failed(2)

Please sign in to leave a comment.