Shortcut for "debugger" function
luca3m opened this issue · 3 comments
luca3m commented
HI,
Using debugger I noticed that can be useful a shortcut for debugger call. So instead of writing:
debugger
You can simply write:
d
Probably you may think that is stupid but I think that can speedup our work because it's a line of code that you write and delete with high frequency.
cldwalker commented
Thanks for reporting your issue! This is one of my 9 active issues. Use that link to check how soon your issue will be answered. Don't forget to check your issue against this project's CONTRIBUTING.md. Cheers.
cldwalker commented
I'm all for shortcuts but they don't belong in libraries - especially ones that are on Kernel
. You could define your shortcut with this ~/.rdebugrc:
eval def d; debugger; end
luca3m commented
Ok, I'll try this solution! Thank you for your response :)