Skip to content

rdebug-ide is getting stuck when executing notify_dispatcher_if_needed #235

@alir2t2

Description

@alir2t2

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions