Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

Support the "official" debug gem? #780

Open
iandol opened this issue Nov 24, 2021 · 4 comments
Open

Support the "official" debug gem? #780

iandol opened this issue Nov 24, 2021 · 4 comments
Assignees
Labels
feature-request Adds currently unsupported functionality

Comments

@iandol
Copy link

iandol commented Nov 24, 2021

Your environment

  • vscode-ruby version: V0.28.1
  • Ruby version: 3.0.2
  • Ruby version manager (if any): rbenv
  • VS Code version: 1.62.3
  • Operating System: macOS 12.0.1
  • Using language server? true

Request

There is a newer debug gem https://github.com/ruby/debug that offers a very comprehensive feature set, and a new VScode extension demonstrates it in action without any other extensions required: https://marketplace.visualstudio.com/items?itemName=KoichiSasada.vscode-rdbg — specifically being able to remote debug code triggered from within-the-code-itself works great. It would be nice to explore switching the debugger over to the official extension as it has more features and appears to integrate well with with VSCode.

@iandol
Copy link
Author

iandol commented Nov 24, 2021

Note that rails is switching over to ruby/debug: https://www.bigbinary.com/blog/rails-7-replaced-byebug-with-ruby-debug — and ruby/debug will be bundled with Ruby 3.1: https://www.ruby-lang.org/en/news/2021/11/09/ruby-3-1-0-preview1-released/

@iandol
Copy link
Author

iandol commented Dec 25, 2021

Ruby 3.1 final is out and ruby/debug is now officially released: https://www.ruby-lang.org/en/news/2021/12/25/ruby-3-1-0-released/

@wingrunr21 wingrunr21 self-assigned this Jan 3, 2022
@wingrunr21 wingrunr21 added the feature-request Adds currently unsupported functionality label Jan 3, 2022
@kyrofa
Copy link

kyrofa commented Feb 1, 2022

Yeah debase doesn't work with ruby 3 at all, right? So ruby-debug-ide is entirely incompatible with ruby 3, isn't it?

@wingrunr21
Copy link
Collaborator

Tracking branch is debugger_improvements

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Adds currently unsupported functionality
Projects
None yet
Development

No branches or pull requests

3 participants