ruby-debug / ruby-debug-ide

An interface which glues ruby-debug to IDEs like Eclipse (RDT), NetBeans and RubyMine.
https://www.jetbrains.com/ruby/features/ruby_debugger.html
Other
370 stars 83 forks source link

create sockets with SO_REUSEPORT option #164

Closed ViugiNick closed 3 years ago

ViugiNick commented 5 years ago

Often in the case of a remote connection, there is a problem with the fact that debugger use several ports in case of multi-process applications. It turns out that there is an opportunity to create several sockets on the same port - REUSEPORT(REUSEADDR in case of windows)(https://stackoverflow.com/a/14388707/4863418) According this answer REUSEPORT will work on linux starting with 3.9 kernel version(which was released back in 2013 so we are OK)

Old workaround: https://github.com/ruby-debug/ruby-debug-ide/issues/73

vivekcoer commented 4 years ago

Why is this not merged yet? This fixes a very important bug..

carlobeltrame commented 4 years ago

I am also very interested in having this merged and released. What is blocking it?

avantjustus commented 4 years ago

🙏

ViugiNick commented 4 years ago

@avantjustus @carlobeltrame @vivekcoer Did you tried the version from the branch? Because AFAIR I put it off because it fails pretty often

hurricup commented 3 years ago

Closing this as abandoned