Upgraded to Rubymine 8 and now debugger doesn't work Follow
I was running Rubymine 7.x and it the debugger was working fine, then upgraded to Rubymine 8, now the debugger doesn't work right.
The debugger will start up, even successfully render pages.
But...when it hits a breakpoint I set...I get this:
IOError (closed stream):
and it errors out, then becomes unusable at all until I stop the process...close the Rubymine application, and restart it.
I have this installed:
Please sign in to leave a comment.
I am facing this issue as well. I'm running RubyMine 8.0.3 (Build #RM-143.1559) on OS X El Capitan 10.11.3.
I can launch in Debug mode, but the debugger crashes only if I set a breakpoint.
Here's the console dump from a failed rspec debug launch (after a 10 second timeout trying to connect to the debugger):
Lucky you that at least you got your fast debugger working, even tho I have both ruby-debug-ide 0.6.0 and debase 0.2.2.beta6, rubymine still complains:
Error running Unnamed: Cannot start debugger. Gem 'ruby-debug-ide' isn't installed or its executable script 'rdebug-ide' doesn't exist.
May be that byebug or pry-byebug are required in Gemfile or Gemfile.lock - in my case the Rubymine debugger started to work after commenting these other debuggers and re-running bundle.
@Helen, I'm having the same problem and it's driving me crazy. If I try to launch in debug, I get (every time) a confirmation dialog saying:
"The gem debase required by the debugger is not currently installed. Would you like to install it? "
I click yes, and it attempts to install both debase-0.2.2.beta6 and ruby-debug-ide-0.6.0. No errors, but somehow it hasn't worked and I then get the error:
'Cannot start debugger. Gem 'ruby-debug-ide' isn't installed or its executable script 'rdebug-ide' doesn't exist.'
I don't know where RubyMine is looking for them, but apparently not in my global gem set or in my project's gem set.
I've manually installed (gem install) both ruby-debug-ide (0.6.0) and debase (0.2.1 - I don't know how to get 0.2.2.beta6) in my project gem set, the global gem set (via rvm @global do gem install).