cldwalker / debugger

port of ruby-debug that works on 1.9.2 and 1.9.3
BSD 2-Clause "Simplified" License
846 stars 80 forks source link

Shortcut for "debugger" function #94

Closed luca3m closed 11 years ago

luca3m commented 11 years ago

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 11 years ago

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 11 years ago

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 11 years ago

Ok, I'll try this solution! Thank you for your response :)