TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

RoR Debugbar

298 pointsby puuushabout 1 year ago

19 comments

julienbourdeauabout 1 year ago
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 未加载
jpb0104about 1 year ago
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_gastropodabout 1 year ago
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 未加载
aantixabout 1 year ago
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>
nickjjabout 1 year ago
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 未加载
nomilkabout 1 year ago
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 未加载
pserwyloabout 1 year ago
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 未加载
kfirabout 1 year ago
Hey Julien!<p>Great to see that you finally released this ;)
评论 #39427376 未加载
aurelius83about 1 year ago
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 未加载
deedubayaabout 1 year ago
Cool project, but I hate the use of the RoR acronym
评论 #39423051 未加载
评论 #39423330 未加载
thr0waway001about 1 year ago
As someone who has used the Laravel version of this I gotta say it has been pretty damn helpful.
preezerabout 1 year ago
Very, very, very cool Idea. I&#x27;ll try it tomorrow
Alifatiskabout 1 year ago
Very cool, I&#x27;ll add this to my next project!
pmontraabout 1 year ago
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 未加载
pdntspaabout 1 year ago
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 未加载
0xblinqabout 1 year ago
This is amazing. Great work.
KingOfCodersabout 1 year ago
Wish there would be one for Go.
CassandraOaklyabout 1 year ago
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
maxlinabout 1 year ago
Thought this was going to be about debugging Rigs of Rods bars (joints). Meh
评论 #39424795 未加载