Skip to content

suketa/nvim-dap-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 

Repository files navigation

nvim-dap-ruby

An extension for nvim-dap providing configurations for launching debug.rb.

⚡ Requirements

📦 Installation

Lazy.nvim:

{
  "mfussenegger/nvim-dap",
  dependencies = {
    "suketa/nvim-dap-ruby"
  },
  config = function()
    require("dap-ruby").setup()
  end
}

Vim-plug:

Plug 'mfussenegger/nvim-dap'
Plug 'suketa/nvim-dap-ruby'

🚀 Usage

Registering the plugin

If you're not using Lazy.nvim, you'll need to call the setup function to register and setup the adapter:

lua require('dap-ruby').setup()

Debugging

Call :lua require('dap').continue() to start debugging.

✨ Features

Implemented

  • Start debugger with current opened file.
  • RSpec
    • Start debugger with current opened spec file (bundle exec rspec /path/to/file_spec.rb)
    • Start debugger with bundle exec rspec ./spec
  • Rails integration

Not Supported Yet

  • Rake test
  • Connect running rdbg

👏 Acknowledgement

Thanks to nvim-dap-go for the inspiration.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages