ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
[TOC] > [github](https://github.com/nette/tracy) ## 概述 启动 ``` <?php use Tracy\Debugger; use Tracy\ILogger; require 'vendor/autoload.php'; Debugger::enable(Debugger::$productionMode); //黑色主题 Debugger::$dumpTheme = 'dark'; // 设置日志的目录 mkdir(__DIR__.'/log'); Debugger::$logDirectory = __DIR__ . '/log'; Debugger::$logSeverity = E_NOTICE | E_WARNING; Debugger::log("asdad", ILogger::INFO); // dump dump("asd"); Debugger::dump(['a' => 'b']); ``` ![](https://img.kancloud.cn/28/ec/28ec1575efcdb5b48ad5aad3e2a5c2d5_1064x787.png)