承接 crisu83/yii-debug 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

crisu83/yii-debug

Composer 安装命令:

composer require crisu83/yii-debug

包简介

Debugging tools for the Yii PHP framework.

关键字:

README 文档

README

Debugging tools for the Yii PHP framework.

Configuration

Add the debug command to your console config file (usually protected/config/console.php):

// console application configuration
return array(
    .....
    'commandMap' => array(
        'debug' => array(
            'class' => 'path.alias.to.DebugCommand',
            'runtimePath' => 'application.runtime', // the path to the application runtime folder
        ),
    ),
);

console.php

Update your entry script (usually index.php) to use the Debugger:

$debugger = __DIR__ . '/path/to/Debugger.php';
$yii = __DIR__ . '/path/to/yii.php';

require_once($debugger);

Debugger::init(__DIR__ . '/protected/runtime/debug');

require_once($yii);

index.php

Usage

To enable debugging with the following command:

yiic debug on

You can also enable debugging for a specific ip address (replace {ip-address} with the desired ip address):

yiic debug on {ip-address}

To turn of debugging mode, simply run the following command:

yiic debug off

统计信息

  • 总下载量: 9.68k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2013-03-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固