connorshea / vscode-ruby-test-adapter

A Ruby test adapter extension for the VS Code Test Explorer
https://marketplace.visualstudio.com/items?itemName=connorshea.vscode-ruby-test-adapter
MIT License
85 stars 52 forks source link

Support debug gem #118

Open tomoasleep opened 1 year ago

tomoasleep commented 1 year ago

This PR enables debug tests with debug gem by using vscode-rdbg extension. (debug gem is bundled with Ruby 3.1+)

Users can choose which debugger to use by rubyTestExplorer.debugger configuration. (rdebug-ide or rdbg)

Example

image

connorshea commented 1 year ago

Thank you! My biggest concern with merging this right now would be the merge conflicts/issues it may cause with the rewrite in #90. I may ask that we wait until that's merged, or to rebase this PR on top of that one.

Tabby commented 1 year ago

This isn't a particularly big PR, so it shouldn't be too much work to incorporate it into the rewrite if you want to get it merged, and I'd be happy to do so :)

tomoasleep commented 1 year ago

Thank you! I'll try to make another patch based on https://github.com/connorshea/vscode-ruby-test-adapter/pull/90.