如何在 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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Aptana Studio 3+ 确实具有 Ruby 调试功能。除了 HAML 文件中的断点表现有些不正常之外,我可以毫无问题地使用它。
但是,您必须确保已安装 gem
ruby-debug-ide
(可以使用以下命令安装它:gem install ruby-debug-ide
)。要验证是否安装了适当的调试 gem,请在您选择的终端应用程序(不确定您所在的平台)中运行
gem list
并确保它在那里......在输出中查找这些行:希望有帮助!
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:Hope that helps!