{
    "mode": "perldoc",
    "parameter": "Test::Unit::Debug",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Test%3A%3AUnit%3A%3ADebug/json",
    "generated": "2026-06-13T16:42:14Z",
    "synopsis": "package MyRunner;\nuse Test::Unit::Debug qw(debugtofile debugpkg);\ndebugtofile('foo.log');\ndebugpkg('Test::Unit::TestCase');",
    "sections": {
        "NAME": {
            "content": "Test::Unit::Debug - framework debugging control\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "package MyRunner;\n\nuse Test::Unit::Debug qw(debugtofile debugpkg);\n\ndebugtofile('foo.log');\ndebugpkg('Test::Unit::TestCase');\n",
            "subsections": []
        },
        "ROUTINES": {
            "content": "debugtofile($file)\nSwitch debugging to $file.\n\ndebugtostderr()\nSwitch debugging to STDERR (this is the default).\n\ndebugpkg($pkg)\nEnable debugging in package $pkg.\n\ndebugpkgs(@pkgs)\nEnable debugging in the packages @pkgs.\n\ndebugpkg($pkg)\nEnable debugging in package $pkg.\n\ndebugpkgs(@pkgs)\nDisable debugging in the packages @pkgs.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Copyright (c) 2000-2002, 2005 the PerlUnit Development Team (see Test::Unit or the AUTHORS file\nincluded in this distribution).\n\nAll rights reserved. This program is free software; you can redistribute it and/or modify it\nunder the same terms as Perl itself.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "Test::Unit\n",
            "subsections": []
        }
    },
    "summary": "Test::Unit::Debug - framework debugging control",
    "flags": [],
    "examples": [],
    "see_also": []
}