启动Mongrel 或WEBrick时加上参数
安装gem
代码:
--debugger安装gem
sudo gem install ruby-debug代码:
class WeblogController < ActionController::Base
def index
@posts = Post.find(:all)
debugger
end
end

3699

被折叠的 条评论
为什么被折叠?



