Browse Source

debug条数改为10000条

ouyang 3 weeks ago
parent
commit
55832c97c3
1 changed files with 2 additions and 0 deletions
  1. 2 0
      common/config/main-local.php

+ 2 - 0
common/config/main-local.php

@@ -9,6 +9,8 @@ if (getenv('YII_ENV') == 'production') {
             'debug' => [
                 'class' => 'yii\debug\Module',
                 'allowedIPs' => [getenv('DEBUG_ALLOWED_IP','127.0.0.1')],
+                // Debug 工具栏保留的历史请求条数,默认 50 条过少
+                'historySize' => 10000,
             ],
             'gii' => [
                 'class' => 'yii\gii\Module',