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

眉间皱痕 提交于 2019-12-30 06:48:26

问题


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.


回答1:


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!



来源:https://stackoverflow.com/questions/7676249/how-do-i-debug-a-rails-application-in-aptana-studio-3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!