Name

DebugFile — specify Interchange debug output filename

SYNOPSIS

filename

DESCRIPTION

Specify the Interchange debug output file. If the filename is not absolute, it is treated relative to the Interchange root directory (ICROOT).

When enabled, the debug file will gather output of the ::logDebug() Interchange statements and Perl warnings (if they are enabled).

DIRECTIVE TYPE AND DEFAULT VALUE

Global directive

EXAMPLES

Example: Setting DebugFile

Variable DEBUG 1
DebugFile /tmp/icdebug

NOTES

Keep in mind that you need to have the DEBUG global variable defined.

Also, as the ::logDebug() statements are disabled (commented) by default in Interchange sources, you'll probably want to use a special script for managing debug statements, or manually uncomment parts of debugging code in question (and restart Interchange, of course — see Q: ).

AVAILABILITY

DebugFile is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/Config.pm
Line 394

['DebugFile',     'root_dir',        ''],

Source: lib/Vend/Config.pm
Line 3925 (context shows lines 3925-3932)

sub parse_root_dir {
my($var, $value) = @_;
return '' unless $value;
$value = "$Global::VendRoot/$value"
  unless file_name_is_absolute($value);
$value =~ s./+$..;
return $value;
}

AUTHORS

Interchange Development Group

SEE ALSO

DEBUG(7ic), ShowTimes(7ic), DataTrace(7ic), EncryptProgram(7ic), DebugTemplate(7ic), DumpStructure(7ic), SysLog(7ic), LogFile(7ic), DebugHost(7ic)

DocBook! Interchange!