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.
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?
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.Here is my machines details:
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?