Description
I've managed to reproduce this on a fresh laravel 11 install:
Installed Laravel 11:
composer create-project laravel/laravel:^11.0
In .env i've set the following:
APP_DEBUG=true
APP_URL=http://localhost:8900/testl/public --- my local server runs on port 8900 and I installed laravel in /testl
I installed the debug bar:
composer require barryvdh/laravel-debugbar --dev
php artisan vendor:publish --provider="Barryvdh\Debugbar\ServiceProvider"
The debug bar is ignoring the APP_URL variable and assets are not loading (it tries to load them from the root):
Composer and env files (had to use the txt extension - github won't let me upload them otherwise):
env.txt
composer.json
composer.lock.txt
The issue started appearing with v3.11.0. Installing v3.10 fixes the problem for me