   

  debug     
    

                    .
                    ,              .

     ( debuging )  -        - :               .

                  .
       PHP        :      : (  error tracing,    )                   .
           .
http://www.arabteam2000-forum.com/index.php?showtopic=49409
          Zend 
http://www.zend.com/zend/tut/tutorial-DebugLib.php?article=tutorial-DebugLib&kind=t&id=3077&open=1&anc=0&view=1
http://www.zend.com/codex.php?id=876&single=1

       debug_var .
    debug_var        (arguments)                . 
 : [code]debug_var ('SESSION', $_SESSION);[/code] 

:         
                     ( $HAS_DEBUG )      : 
[code]$HAS_DEBUG = $_GET['debug'] ? $_GET['debug'] : 0 ;[/code]
      .                   .

:                
                      debug.html               .
         -        -    debug.html         .

:             
:       $debugCount       ( 0 )            $debugCount++;      .

:         ! 
:        php       ( class )     .
      : 
get_included_files //      
get_magic_quotes_gpc //      
method_exists //        
func_get_args //   
get_object_vars //        
get_declared_classes //            php  
get_defined_functions //         [user]     
memory_get_usage //            error_log() 
apache_request_headers //     

  error_log     debug_vars                               CustomErrorHandler             .
  error_log              .

                phpinfo.php  .
             .

  :          : 
     mySQL   
   TemplatePower      debug  .
 : customerrorviewer.php            .
 : function.php      .

                           .