Debugging Rails 3 with RubyMine

I use RubyMine to develop a Rails3 application, but I am unable to get the debugger to work. I always get the following message:

Unable to connect to debugging process on port 60706 after 10 seconds:

The reset and kill process when the debuggee process is running. You may try to increase the timeout. Killing ...

Error: fast debugger (ruby-debug-ide 0.4.17.beta3, ruby-debug-base 0.11.26) listens for 127.0.0.1:60706

Try to increase the waiting time Settings | Debugger | Ruby | Debug connection timeout

Of course, I tried to increase the timeout value, but this does not help. I do not know how to solve the problem. I do not see any debug output, error log ... Any hint would be very optimized!

+6
source share
2 answers

Now it works for me,

  • RubyMine 3.1.1 build 103.260
  • ruby-debug-ide 0.4.17.beta5
  • ruby-debug-base19-0.11.25 (I'm not sure if this is actually used)

It did not work with .beta3 for me, but now it works like a charm (.beta5)

+2
source

I had a similar problem with RubyMine 5.4 ( the debugging time of RubyMine 5.4, but the debugging console was shown to be connected ) no indications of any errors, but the debugging connection is always synchronized out. However, remote manual debugging on the local system worked. It turns out that on my system (Mac OS X 10.8.3) that hostname returned localhost . Running sudo hostname new-name solved the problem and now the RubyMine internal debugger is working fine.

+1
source

Source: https://habr.com/ru/post/888107/


All Articles