用Aptana Studio 3 调试Ruby on Rails
1. 检查是否安装ruby-debug-ide
$ gem list
2. 如果没有安装,则安装 ruby-debug-ide
$ gem install ruby-debug-ide
3. 在Aptana Studio 3中打开你的项目, 开启Debug Server: App Explorer -> Gear图标的下拉菜单 -> Debug Server
5. 在浏览器中访问 http://localhost:3000/<your path>/index.html
6. Aptana会询问是否打开Debug perspective. 当然要打开. 你能看见server停在断点处。

posted on 2012-05-11 21:20 VinceOniPhone 阅读(3236) 评论(0) 编辑 收藏 举报