Anyone know if it's possible to debug a Rails application while using the IDE's Rails Console tool (Tools -> Run Rails Console ...)?
I've set up some breakpoints, which I can hit when running my rails app via the "Run -> Debug" menu selection and interacting with the app via a browser. But I'd like to be able to stop on those same breakpoints when executing the same code via the rails console. Unfortunately, it seems like "Tools ->Run Rails Console" only provides the option of running the console normally - though I hope I'm wrong about that.
I've also tried setting up ./script/console as a Ruby script via "Run -> Edit Configurations" but that just runs right over the breakpoints. (And it doesn't nicely separate input and output/error like "Tools -> Run Rails Console..." does.
BTW: I'm running IDEA 11.1 with the Ruby Plugin (not the standalone RubyMine product) and my app is on Rails 2.3.8.