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

hth,

Robert Kehl

--
((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg
         http://www.otrs.de/ :: Tel. +49 (0)6172 4832388

_______________________________________________
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