Forráskód Böngészése

Ruby debugging support (#969)

* Ruby debugging support

* add comment for ruby debugging requirements
Abouzar Parvan 4 éve
szülő
commit
7f978fd2d3
1 módosított fájl, 5 hozzáadás és 2 törlés
  1. 5 2
      lua/lang/ruby.lua

+ 5 - 2
lua/lang/ruby.lua

@@ -62,8 +62,11 @@ M.lsp = function()
 end
 
 M.dap = function()
-  -- TODO: implement dap
-  return "No DAP configured!"
+  -- gem install readapt ruby-debug-ide
+  if O.plugin.dap.active then
+    local dap_install = require "dap-install"
+    dap_install.config("ruby_vsc_dbg", {})
+  end
 end
 
 return M