-
Notifications
You must be signed in to change notification settings - Fork 130
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
More human friendly way to call debugger, i.e. 'debug' or 'debugger' #378
Comments
@DanielJackson-Oslo |
Fantastic! And slow of me to not test if it was there already. Should the readme then be changed to say debugger is an option, or perhaps even the default? Currently it's undocumented in the readme - but to me it feels more natural to have it as the default, so that the section on how to use would read as follows: Modify source code with
|
At least it should be documented. Thanks. |
I've added #418 to mention this alias in the readme. |
Currently we use
binding.break
to run thedebug
gem.To me, it would make sense to have an alias for
binding.break
nameddebug
so I don't have to know which Ruby core modulebreak
is part of to remember how to debug.Example code:
I think this better satisfies Ruby's goal of least surprise.
The text was updated successfully, but these errors were encountered: