Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rdebug-ide is getting stuck when executing notify_dispatcher_if_needed #235

Open
alir2t2 opened this issue Jul 30, 2022 · 0 comments
Open

Comments

@alir2t2
Copy link

alir2t2 commented Jul 30, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant