Ruby上的调试工具包 [英] debugkit for ruby on rails

查看:47
本文介绍了Ruby上的调试工具包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Cakephp开发人员,目前正在用ruby在rails上做一些工作,而我在cakephp中经常使用的一件事是debug-kit,它使我能够在网页中看到许多内容,例如请求信息和可在其中使用的变量.视图.

I am a Cakephp developer that is currently doing some work in ruby on rails and one thing i use a lot in cakephp is debug-kit which allows me to see many things within the web page such as request information and variables available in the view.

像这样的东西都可用于滑轨,因为我似乎找不到类似的东西.

Is anything like this available for rails as i cant seem to find something similar.

推荐答案

虽然我同意z3cko的答案(+1!),但您也应该看看Rack :: Bug:

While I agree with z3cko's answer (+1!), you should also take a look at Rack::Bug:

http://www.brynary.com/2009/4/22/rack-bug-debugging-toolbar-in 4分钟

浏览该帖子链接的截屏视频.

Go over the screencast linked from that post.

很棒的工具

这篇关于Ruby上的调试工具包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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