# Ruby Debug (VSCode)

Ruby integration with VSCode - Ruby LSP from Shopify

Recommandation is to combine:

  • Ruby LSP from Shopify
  • VSCode Ruby rdbg Debugger / market debug gem must be installed globally and rdbg should be in the path - to enable debugging
    • this create a launch task, that can be configured to debug current files (setup can take some times). - you need to confirm the command to run (it can be ruby or bundler exec)
    • debug gem must be installed globally and rdbg should be in the path

# Deprecated

caption

# see also?

# Troubleshooting

If using rbenv, make sure it is properly seen by VSCode (init shell)

see also

Written on March 31, 2023, Last update on March 22, 2025
vscode ruby debug