This PR makes it possible to enable or disable the api debugger, without changing the APP_DEBUG env variable. It fallbacks on the APP_DEBUG var when the new env variable isn't set.
After making this PR i saw that there already was a PR with the same functionality. Ofcourse credits to Jezzdk (PR)
This PR makes it possible to enable or disable the api debugger, without changing the
APP_DEBUG
env variable. It fallbacks on theAPP_DEBUG
var when the new env variable isn't set.After making this PR i saw that there already was a PR with the same functionality. Ofcourse credits to Jezzdk (PR)