Module to reveal CLI scripts in /debug (if its required)
I hope it will be useful for you.
The preferred way to install this extension is through composer.
{
"require": {
"achertovsky/yii2-debug-cli": "@dev"
}
}
or
composer require achertovsky/yii2-debug-cli "@dev"
to start using it - please, add it to your modules section
for example:
'debug' => [
'class' => 'achertovsky\debug\Module',
'logTarget' => 'achertovsky\debug\LogTarget',
],
in advanced template personally me use it under common/config/main.php
in basic template i would (never did) put it both to config/web.php and config/console.php (waiting for feedbacks)
./yii migrate/up -p vendor/achertovsky/yii2-debug-cli/migrations
'components' => [
'log' => [
'class' => '\achertovsky\debug\log\Dispatcher',
//...
],
//...
]