[rt-users] Scrip question and how to debug?

Vivek Khera vivek at khera.org
Fri Mar 14 15:47:47 EDT 2008


On Mar 14, 2008, at 2:25 PM, John Arends wrote:

> Second, is there a good way to debug scrips? I feel like I'm just
> feeling around in the dark and don't know how to tell if they're  
> really
> working, or what the contents of variables are, etc. If I was writing

sprinkle your scrip with lines like this:

   $RT::Logger->error("Got a create transacation...");

and look in your RT logfile.




More information about the rt-users mailing list