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 manual


{{#tags}}- {{label}}
{{/tags}}