barryvdh / laravel-debugbar

Debugbar for Laravel (Integrates PHP Debug Bar)
MIT License
16.73k stars 1.53k forks source link

Debugbar not working for subdomain (multi tenant) #1450

Open MujeebAnwar opened 11 months ago

MujeebAnwar commented 11 months ago

I'm working on multi-tenant project I found that debugbar not working for subdomains it's always send request on central domain instead of subdomain

Screenshot 2023-08-31 at 7 57 10 PM

parallels999 commented 11 months ago

It is working for me Make a debug, and open a PR with the fix https://github.com/barryvdh/laravel-debugbar/blob/27b088aaad2adba74a7a73a47cb8d11277b551e3/config/debugbar.php#L253-L260 https://github.com/barryvdh/laravel-debugbar/blob/27b088aaad2adba74a7a73a47cb8d11277b551e3/src/debugbar-routes.php#L11-L14 https://github.com/barryvdh/laravel-debugbar/blob/27b088aaad2adba74a7a73a47cb8d11277b551e3/src/LaravelDebugbar.php#L906-L909

MujeebAnwar commented 11 months ago

@parallels999 can you please share a PR link with me

parallels999 commented 11 months ago

@parallels999 can you please share a PR link with me

It's a weird request, but here it is: New Pull Request Also Learn about pull requests

MujeebAnwar commented 11 months ago

@parallels999 I think you opened a PR that's why I asking about PR link

parallels999 commented 11 months ago

It is working for me

MujeebAnwar commented 11 months ago
Screenshot 2023-08-31 at 10 42 07 PM

It's my config file route_domain but I don't know why it's not working on my side

MujeebAnwar commented 11 months ago

@parallels999 anything that I did wrong?

parallels999 commented 11 months ago

anything that I did wrong?

possibly, that's why it told you to do a debug