如何在Aptana Studio 3中调试Rails应用程序? [英] How do I debug a Rails application in Aptana Studio 3?

查看:293
本文介绍了如何在Aptana Studio 3中调试Rails应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Aptana Studio是否包含Rails应用程序的调试,就像RubyMine与断点和所有内容一样?我使用的是Aptana Studio 3.0.5,并且无法找到如何使其正常工作。

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.

推荐答案

Aptana Studio 3+有Ruby调试。除了HAML文件中的断点之外,我已经能够使用这个没有任何问题。

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.

但是,您必须确保已安装gem ruby​​-debug-ide (可以安装使用命令: gem install ruby​​-debug-ide )。

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).

验证是否安装了相应的调试宝石,在你的终端应用程序中运行 gem list (不知道你有什么平台),并确保它在那里...在输出中查找这些行:

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) p>

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

希望有帮助!

这篇关于如何在Aptana Studio 3中调试Rails应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆