RoR Debugbar
debugbar.dev
RoR Debugbar
1–10 of 80 posts
Re: RoR Debugbar
#2NOTE: 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.
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.
Re: RoR Debugbar
#3Re: RoR Debugbar
#4https://symfony.com/doc/current/profiler.html
Always miss this in my RoR projects.
Re: RoR Debugbar
#5Re: RoR Debugbar
#6Good 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.
Re: RoR Debugbar
#7Thanks puuush for posting it.
Re: RoR Debugbar
#8Good 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.
How would you be able to implement this functionality only from the frontend without ever adding backend code? You'll always need to expose this info from the backend somehow. Of course with react and vue the data is available since it's already in the frontend.
It could be a browser extension like Rails panel + meta_request but I think it’s also good that anybody working on the codebase always get the debugbar, regardless of their browser or setup.
Re: RoR Debugbar
#9Symfony’s dev toolbar has got to be one of the best. https://symfony.com/doc/current/profiler.html Always miss this in my RoR projects.