当前位置:网站首页>Tp6 debugging (trace)

Tp6 debugging (trace)

2022-06-12 10:08:00 Your brother's programming path (love to share)

author : Ye Gui Chen Huawei cloud sharing expert 51cto( Expert bloggers Tomorrow's star TOP Sensation )


Preface

Learn to trace debugging . Debug in controller

One 、 debugging

tp6 Built in debugging

Two 、 Use steps

 Insert picture description here

3、 ... and 、 Code :

<?php
// +----------------------------------------------------------------------
// | Trace Set up   It is effective after the debugging mode is turned on 
// +----------------------------------------------------------------------
return [
    //  built-in Html and Console Two ways   Support extended 
    'type'    => 'console',// Put the debugging information on the console 
    //  Read log channel name 
    'channel' => '',
     'tabs' => [// Debugging information , panel 
        'base'  => ' basic ',
        'file'  => ' file ',
        'info'  => ' technological process ',
        'error|notice|warning' => ' error ',
        'sql'   => 'SQL',
        'debug' => ' debugging ',
        'user'  => ' user ',
    ],
];

3、 ... and : effect :

 Insert picture description here

summary

Thank you for watching , thank you .

原网站

版权声明
本文为[Your brother's programming path (love to share)]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/163/202206121004007852.html