Home > Software design >  How to enable debugging with barryvdh/laravel-debugbar only on specific pages?
How to enable debugging with barryvdh/laravel-debugbar only on specific pages?

Time:11-14

How do I enable barryvdh/laravel-debugbar only on specific page. In my case I want to debug things even in production but only for admin panel

I tried digging in source code, but It doesn't seem to work

CodePudding user response:

https://github.com/barryvdh/laravel-debugbar/issues/93

You should create a middleware.

  • Related