Symfony’s dev toolbar has got to be one of the best.<p><a href="https://symfony.com/doc/current/profiler.html" rel="nofollow">https://symfony.com/doc/current/profiler.html</a><p>Always miss this in my RoR projects.
This looks excellent. I love the cross-pollination of good ideas that seems to be frequently happening between the Laravel, Phoenix, and Rails frameworks.
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://callstacking.com/" rel="nofollow">https://callstacking.com/</a>
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://discuss.rubyonrails.org/t/proposal-a-fully-featured-web-debug-toolbar-panel-that-knows-about-rails-and-turbo" rel="nofollow">https://discuss.rubyonrails.org/t/proposal-a-fully-featured-...</a><p>NOTE: I'm not the author of this tool but they did end up replying in that thread. I didn'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.
First time encountering the term 'debugbar', I see:<p>> 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/action got you to the page, any callbacks, and database queries. Anything else? What's a typical use case for this, or is it more like turn it on and it's just handy to have that extra info in your dev environment?
The last two places I've worked I added a custom "debug bar" of sorts. We typically use in dev and lower QA environments, and they quickly become indespensible to help answer questions like "which version of service X is deployed", 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 "which DB is being used", 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 "Why doesn't this feature work? Oh, after investigation, this service was down during testing".
This seems pretty similar to <a href="https://github.com/dejan/rails_panel">https://github.com/dejan/rails_panel</a>. Was that your inspiration?
Good idea but it seems that every developer of a project is going to have to use it, because it's a gem and it must be included in a layout. It's possible to do that conditionally based on an environment variable, but we'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've got them into my Firefox.
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>> 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.
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