cldwalker/debugger

Add option parameters or block to the debugger method

mark-ellul opened this issue · 5 comments

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.

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.

thanks!

debugger is just a method call, so you can just do

debugger if your_condition

Is that what you want?

Yes thats exactly what I want! Sometimes I tend to over complicate things!

Sweet! :)