Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I debug a Rails application in Aptana Studio 3?

Does Aptana Studio include debugging for Rails apps just as RubyMine does with breakpoints and everything? I'm using Aptana Studio 3.0.5 and haven't been able to find how to get this working.

like image 690
Fernando Briano Avatar asked Oct 06 '11 14:10

Fernando Briano


1 Answers

Aptana Studio 3+ does have Ruby debugging. Other than breakpoints in HAML files misbehaving somewhat, I've been able to use this without any problems.

However, you must make certain that you have installed the gem ruby-debug-ide (you can install it with the command: gem install ruby-debug-ide).

To verify that the appropriate debug gems are installed, run gem list in your Terminal application of choice (not sure what platform you are on) and be sure it's there ... look for these lines in the output:

ruby-debug-base19 (0.11.25)
ruby-debug-ide (0.4.16)

Hope that helps!

like image 65
craig.kaminsky Avatar answered Oct 10 '22 02:10

craig.kaminsky