Add option parameters or block to the debugger method
mark-ellul opened this issue · 5 comments
mark-ellul commented
Hi,
I would be awesome if we could pass in a block to the debugger command that when evaluated to true stop execution and go into the debugger, otherwise it would be continue.
cldwalker commented
Thanks for reporting your issue! This is one of my 10 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.
mark-ellul commented
thanks!
deivid-rodriguez commented
debugger
is just a method call, so you can just do
debugger if your_condition
Is that what you want?
mark-ellul commented
Yes thats exactly what I want! Sometimes I tend to over complicate things!
deivid-rodriguez commented
Sweet! :)