My Ruby Debugging Tips in 2025
13-Mar-2025 89
This is a quick & unpolished collection of my Ruby debugging tips and recommendations.
You can use the Ruby LSP extension to connect to debug.gem too. It requires a slightly different launch.json configuration (example) and provides better error handling for connection issues.
Try using launch request in launch.json instead of attach. It simplifies the debugging process as you don't need to manually start/stop the server. In most Rails projects, a simple entry like this will do:.
My Ruby Debugging Tips in 2025 #ruby #rubydeveloper #rubyonrails #Debugging https://rubyonrails.ba/link/my-ruby-debugging-tips-in-2025