ruby-debug/ruby-debug-ide

rdebug-ide is getting stuck when executing `notify_dispatcher_if_needed`

alir2t2 opened this issue · 0 comments

When trying to debug my Rails app using Unicorn server, rdebug-ide getting stuck here indefinitely. To overcome this I have added a work around like this.

dispatcher_answer = s.gets.chomp # rdebug-ide is getting stuck here
dispatcher_answer = "true" # replaced socket.gets with true.

Here is my machines details:

Debian jessie: v8.11
ruby-debug-ide: v0.7.3
Ruby: v2.6
Rails: v4.2
Unicorn:  v5.6.0

What I assume from the code Socket.gets.chomp Read lines from from dispatcher port ex:9500. I did not understood why it is getting stuck there while reading from dispatcher port. Is this a bug or I am missing something?