Better Debugging With The Ruby Debug Gem

preview_player
Показать описание

In this video, we will be looking at how to better debug issues in our programs and applications by leveraging the Ruby Debug gem.
Рекомендации по теме
Комментарии
Автор

Glad to see Adam Driver in the channel

bonniesimon
Автор

That's awesome, I've always found the console debugger a little arcane, but you've made it much clearer (coming from a C++ and Visual Studio background with full gui debugging)

jacobdegeling
Автор

That was pretty instructional but what I dont quite get is how to enter the debugging session from dev server, not from the rails console.

martinarce
Автор

How would you recommend to use debug gem from the rails server with foreman or overmind ? Which command would you use ? binding.irb, debugger, binding.b ? And to solve DEBUGGER: wait for debugger connection...
I'm using `rdbg --attach`

citin-dev
Автор

What to use with vscode and rails 6.1?

AvinashYadav-dy
Автор

I personally prefer byebug because I have noticed that it's lightweight and it's almost the same in terms of features.
It's a nice explanation, anyway.

developerfoe
join shbcf.ru