-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recommendations for use with debug gem #6
Comments
@alexevanczuk I happened upon your comment going down a similar road to you. debug has a nice feature which allows you to define a ~/.rdbgrc.rb which runs code prior to a debug session.
Not sure if there's a more elegant way to package this functionality. I skimmed through the source and it seems a bit lighter on pluggable abstractions than pry |
Thanks @pmandrw. I found that adding this to my
|
Hello!
I'm starting to use the new ruby debugger (https://github.com/ruby/debug) in VSCode and making use of this gem to skip through sorbet stuff. Right now, I'm just manually calling
PrySorbet::UnwrapCommand.new.process
in my debugger, and it works like a charm. Is there a recommended way to automatically run this when entering a debug session withdebug
? This is calledpry-sorbet
so maybe supportingdebug
is a non-goal, but I thought I'd ask!The text was updated successfully, but these errors were encountered: