Hi, debugbar can not working in Lumen 5.6 (clear project).
I'm set in bootstrap/app.php:
$app->register(Barryvdh\Debugbar\LumenServiceProvider::class);
and copy the file to config folder and enable it:
$app->configure('debugbar');
But not working still.
I'm tried add APP_DEBUG=true to env file, but not working still. Debugbar is not showed.
Please fix it
Just had the same issue, but looking at the config file you'll see you need to add DEBUGBAR_ENABLED=true to your .env file
I'm add directive to .env file, but not working still. I have env file correctly loaded.
@Ajtak Hope it can help you
- php artisan vendor:publish --provider="Barryvdh\Debugbar\ServiceProvider"
- $app->configure('debugbar'); //enbale custom config in bootstrap/app.php
- change config.debugbar.collectors.auth to false
Thanks guys.
For me using Lumen 5.6.1 and Debugbar 3.1.3
To get working I had to add both:
DEBUGBAR_ENABLED=true to .env
Change config.debugbar.collectors.auth to false
For me I was able to enable config.debugbar.collectors.auth by first wrapping the $data['guards'] foreach loop within the collect method of MultiAuthCollector inside an array_key_exists test.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If this issue is still present on the latest version of this library on supported Laravel versions, please let us know by replying to this issue so we can investigate further.
Thank you for your contribution! Apologies for any delayed response on our side.
Most helpful comment
Thanks guys.
For me using Lumen 5.6.1 and Debugbar 3.1.3
To get working I had to add both:
DEBUGBAR_ENABLED=trueto.envChange
config.debugbar.collectors.authtofalse