TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

RoR Debugbar

298 点作者 puuush大约 1 年前

19 条评论

julienbourdeau大约 1 年前
Hi I’m the maker of the debugbar. If you have any feedback or question, just let me know.<p>Thanks puuush for posting it.
评论 #39422284 未加载
jpb0104大约 1 年前
Symfony’s dev toolbar has got to be one of the best.<p><a href="https:&#x2F;&#x2F;symfony.com&#x2F;doc&#x2F;current&#x2F;profiler.html" rel="nofollow">https:&#x2F;&#x2F;symfony.com&#x2F;doc&#x2F;current&#x2F;profiler.html</a><p>Always miss this in my RoR projects.
评论 #39421727 未加载
评论 #39421574 未加载
the_gastropod大约 1 年前
This looks excellent. I love the cross-pollination of good ideas that seems to be frequently happening between the Laravel, Phoenix, and Rails frameworks.
评论 #39422850 未加载
aantix大约 1 年前
Very cool project. Similar to the Ruby on Rails debugger that I wrote, which allows you to see all of the methods that are called for a given request (and param values, return values, etc).<p><a href="https:&#x2F;&#x2F;callstacking.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;callstacking.com&#x2F;</a>
nickjj大约 1 年前
If anyone is interested in this sort of thing I started a proposal with a list of ideas and features around a Rails debug toolbar at: <a href="https:&#x2F;&#x2F;discuss.rubyonrails.org&#x2F;t&#x2F;proposal-a-fully-featured-web-debug-toolbar-panel-that-knows-about-rails-and-turbo" rel="nofollow">https:&#x2F;&#x2F;discuss.rubyonrails.org&#x2F;t&#x2F;proposal-a-fully-featured-...</a><p>NOTE: I&#x27;m not the author of this tool but they did end up replying in that thread. I didn&#x27;t even know their tool existed until I happened to stumble upon it on Twitter well after my post.<p>It would be neat if something like this were built out and included in Rails at some point. Especially with Rails 8 focusing on tool integrations and overall developer happiness.
评论 #39421710 未加载
nomilk大约 1 年前
First time encountering the term &#x27;debugbar&#x27;, I see:<p>&gt; This project is inspired by what you get in the PHP world, with the Laravel debugbar for instance.<p>Curious to know what a debugbar does? From a read of the docs (and a play around) it looks like it lets you navigate your site as usual, but it displays which controller&#x2F;action got you to the page, any callbacks, and database queries. Anything else? What&#x27;s a typical use case for this, or is it more like turn it on and it&#x27;s just handy to have that extra info in your dev environment?
评论 #39424519 未加载
评论 #39424981 未加载
pserwylo大约 1 年前
The last two places I&#x27;ve worked I added a custom &quot;debug bar&quot; of sorts. We typically use in dev and lower QA environments, and they quickly become indespensible to help answer questions like &quot;which version of service X is deployed&quot;, something that may be easy for a dev to answer as they can look at what is deployed on the server, but harder for a tester who can only access the frontend.<p>Other useful environmental information we find useful includes &quot;which DB is being used&quot;, which OpenShift namespace (with a link to the console), traceability for the deployed artifact (e.g. links to the GitHub release tag, CI pipeline which built the artifact, docker registry with the correctly tagged image). Especially useful if you have downstream or upstream services, is to have colour coded status info about whether the services are up.<p>For the few days investment getting this up and running, it pays itself back in terms of time gained answering questions such as &quot;Why doesn&#x27;t this feature work? Oh, after investigation, this service was down during testing&quot;.
评论 #39425892 未加载
kfir大约 1 年前
Hey Julien!<p>Great to see that you finally released this ;)
评论 #39427376 未加载
aurelius83大约 1 年前
This seems pretty similar to <a href="https:&#x2F;&#x2F;github.com&#x2F;dejan&#x2F;rails_panel">https:&#x2F;&#x2F;github.com&#x2F;dejan&#x2F;rails_panel</a>. Was that your inspiration?
评论 #39424558 未加载
deedubaya大约 1 年前
Cool project, but I hate the use of the RoR acronym
评论 #39423051 未加载
评论 #39423330 未加载
thr0waway001大约 1 年前
As someone who has used the Laravel version of this I gotta say it has been pretty damn helpful.
preezer大约 1 年前
Very, very, very cool Idea. I&#x27;ll try it tomorrow
Alifatisk大约 1 年前
Very cool, I&#x27;ll add this to my next project!
pmontra大约 1 年前
Good idea but it seems that every developer of a project is going to have to use it, because it&#x27;s a gem and it must be included in a layout. It&#x27;s possible to do that conditionally based on an environment variable, but we&#x27;re still adding some code to the Rails app. A better way would be to turn it into an extension to developer tools, like the ones for React and Vue. I&#x27;ve got them into my Firefox.
评论 #39421358 未加载
评论 #39421773 未加载
pdntspa大约 1 年前
Just curious... how come noone else in the ruby scene seems to use an actual debugger? IDEA has a front-end for ruby-debug-ide and it is divine, it puts pry to shame. Does VSCode or others not have this or something?<p>Some of the other stuff mentioned in the blog post... why tail development.log if you can tail stdout and get all that nice console coloration and such?<p>&gt; I hate switching constantly between the browser, and the terminal where I tail the logs. I want to see the debugging information in the same window.<p>Get yourself multiple screens my dude.<p>That said, this looks like an interesting project.
评论 #39429004 未加载
评论 #39425550 未加载
0xblinq大约 1 年前
This is amazing. Great work.
KingOfCoders大约 1 年前
Wish there would be one for Go.
CassandraOakly大约 1 年前
After monitoring my portfolio performance, CASSANDRA_ E_ OAKLEY blew me away $70k in the last two quarters alone, I learned why these experienced traders make huge profits from the seemingly unknown market.. Also on Facebook CASSANDRA _E_ OAKLEY
maxlin大约 1 年前
Thought this was going to be about debugging Rigs of Rods bars (joints). Meh
评论 #39424795 未加载