# Test::Unit::Debug - framework debugging control - perldoc - [phpMan]

## NAME
    [Test::Unit::Debug](https://www.chedong.com/phpMan.php/perldoc/Test%3A%3AUnit%3A%3ADebug/markdown) - framework debugging control

## SYNOPSIS
        package MyRunner;

        use [Test::Unit::Debug](https://www.chedong.com/phpMan.php/perldoc/Test%3A%3AUnit%3A%3ADebug/markdown) qw(debug_to_file debug_pkg);

        debug_to_file('foo.log');
        debug_pkg('[Test::Unit::TestCase](https://www.chedong.com/phpMan.php/perldoc/Test%3A%3AUnit%3A%3ATestCase/markdown)');

## ROUTINES
  debug_to_file($file)
    Switch debugging to $file.

  debug_to_stderr()
    Switch debugging to STDERR (this is the default).

  debug_pkg($pkg)
    Enable debugging in package $pkg.

  debug_pkgs(@pkgs)
    Enable debugging in the packages @pkgs.

  debug_pkg($pkg)
    Enable debugging in package $pkg.

  debug_pkgs(@pkgs)
    Disable debugging in the packages @pkgs.

## AUTHOR
    Copyright (c) 2000-2002, 2005 the PerlUnit Development Team (see [Test::Unit](https://www.chedong.com/phpMan.php/perldoc/Test%3A%3AUnit/markdown) or the AUTHORS file
    included in this distribution).

    All rights reserved. This program is free software; you can redistribute it and/or modify it
    under the same terms as Perl itself.

## SEE ALSO
    [Test::Unit](https://www.chedong.com/phpMan.php/perldoc/Test%3A%3AUnit/markdown)

