laravel-debugbar: Debugbar Not Showing
Issue Type
- Bug Report
End User Info
– Laravel Version: 5.6.38
– PHP Version: 7.2.10
– Database Driver & Version: MariaDB 10.3.8
– Web Server Driver & Version: NGINX 1.15.0
– OS Driver and Version: Ubuntu 18.04.1
Issue:
- Installed using
composer require barryvdh/laravel-debugbar
- Published config using
php artisan vendor:publish --provider="Barryvdh\Debugbar\ServiceProvider"
- Set
.env
APP_ENV=local APP_DEBUG=true - Set
debugbar.php
config enabled to true - Ran
php artisan clear:all
Clearing several common cache’s … Blade templates cached successfully! Route cache cleared! Routes cached successfully! Configuration cache cleared! - Cleared OPCache
php artisan opcache:clear
Opcode cache cleared
I don’t see debug bar in bottom of browser…
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 8
- Comments: 29
Was having the same issue… Worked great after I cleared the rout cache…
php artisan route:cache
Hope it helps 👍
Tried all of the above, didn’t budge, but creating the
/storage/debugbar
folder (and setting the owner to www-data in my case) caused the bar to show up.+1 not showing in Laravel 5.7 here.
APP_DEBUG
is true,enabled
is true. I even checked on tinkerconfig('debugbar')
and enabled is true there. The Service Provider is loaded as I see the debugbar console command on artisan. Just don’t understand what the issue is here?This worked for me.
affter sudo chmod -R 777 storage
i have the same issue i have tried all solutions and nothing change when i have changed in config/debugbar.php ‘enabled’ => true, it’s work
Posting here in case others have made the same mistake as me…
Silly of me, but when deploying to a remote dev environment I was using
composer install --optimize-autoloader --no-dev
Obviously the--no-dev
flag was stopping debugbar from being installed.Sorry I haven’t fixed this issue. I think its better if you create a new ticket for this issue
I have the same issue as in not showing, My setup is backend and frontend, might have to do with some namespacing However when I set in my frontend/config/app.php
Manually to the top somewhere like this, then it does show up
Illuminate\Broadcasting\BroadcastServiceProvider::class, Illuminate\Auth\AuthServiceProvider::class, Barryvdh\Debugbar\ServiceProvider::class,
Anyone ideas why it is not showing up with the autoloaders?