I've installed according to instructions but not showing on browser.
APP_DEBUG=true in my .env file
Package has been added as both a Service Provider and a Facade
I have published the config file debugbar.php for the package
Run php artisan cache:clear
Any idea?
Thanks
Is this on a clean install of Laravel? It should work out of the box.
If it's not a clean install, then have you tried it on a simple page? How did you determine it isn't working?
Check your logs at storage/logs/larave.log. I was getting the following with a fresh install of Laravel 5.6
local.ERROR: Debugbar exception: mkdir(): Permission denied
If that's your case...turns out that Degubbar needs to create a folder storage/debugbar but wasn't able because storage permission is 775 by default.
My solution was to change the permission to 777 so that the folder could be created and then change it back to 775.
sudo chmod 777 storage/
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
Check your logs at
storage/logs/larave.log. I was getting the following with a fresh install of Laravel 5.6If that's your case...turns out that Degubbar needs to create a folder
storage/debugbarbut wasn't able becausestoragepermission is775by default.My solution was to change the permission to
777so that the folder could be created and then change it back to775.