Hi Thomas,
> On 20 Sep 2016, at 03:30, Thomas Cheng <guolin.ch...@gmail.com> wrote:
> Hi howdies,
>  Recently I'm picking up some legacy puppet codes in my new company. the 
> puppet code base has custom functions written in ruby before.
> One major issue is: how to debug the custom functions to figure out the logic 
> inside? Can I copy/paste into an external general ruby script and debug it 
> with 'ruby -rdebug <script>', Or there is a better puppet-style debugging 
> method that we can learn? Thanks a lot.

I use RUBYLIB env setting and the pry gem for debugging.


You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.

Reply via email to