> -----Original Message-----
> From: Robert Kehl [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, May 12, 2004 12:16 AM
> To: User questions and discussions about OTRS.
> Subject: Re: [otrs] Script wont "die"
> 
> 
> On Wednesday, May 12, 2004 2:04 AM
> Tyler Hepworth <[EMAIL PROTECTED]> wrote:
> > I am making some modifications and need to get some 
> debugging messages 
> > from it.  I have found it easiest to just place "die" statements in 
> > the scripts and print the results to my web browser, but now that I 
> > have switched to linux, the scripts will no longer "die".  
> Is there a 
> > way to enable this functionality?  Or is there a better method 
> > available for debugging?
> 
> Depends. 'die' should work in most cases, but isn't that nice.
> 
> Have a look into the various pieces of code of the OTRS 
> system - you'll get an idea on how we manage Debugging. In 
> general, you may set a Config.pm parameter therefore: 
> $Self->{Debug}. Set it to 1 or 9 - some modules spit out more 
> info, when this is set to a higher value. In most case, a 
> value of 1 were enough.
> 
> Google knows a bunch about "Perl Debugging", for example this 
> article: http://www.linuxjournal.com/article.php?sid=2484
> 

I had read through the mailing list and tried setting the builtin debug
option in Config.pm as well.  Nothing was working.  (Yes I restarted apache
after every change).  Then, instead of doing "/etc/init.d/apache-perl
restart" (using debian), I did "/etc/init.d/apache-perl stop"
"/etc/init.d/apache-perl start".  After that it worked.  Appears that my
webserver is picky and does not like the command "restart".  Bah, stupid
computers.  :D

Tyler
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting f�r Ihr OTRS System?
=> http://www.otrs.de/

Reply via email to