(12-01-2018, 05:32 AM)InsiteFX Wrote: CodeIgniter 4 Users Guide - Debug Toolbar
Yes I read the documentation before posting... and that's the problem, I can't find where to switch on the DEV environment that actually seems to have the desired effect.
The docs say:
"The toolbar is enabled by default in any environment except production. It will be shown whenever the constant CI_DEBUG is defined and it’s value is positive. This is defined in the boot files (i.e. application/Config/Boot/development.php) and can be modified there to determine what environments it shows itself in."
- the App.php file comments mentions CI_DEBUG, but not where it is set (this, I hope, will be enhanced in due course).
- I checked, and the application/Config/Filters->globals['after'] DOES include 'toolbar'
- I followed the directions at
https://codeigniter4.github.io/CodeIgnit...nvironment by setting both CI_ENVIRONMENT and ENVIRONMENT there to 'development'; The docs tell us that .env vars should override other vars...
In other words, I've read all the places in the docs I can find that mention the Debug toolbar, switching it on, and setting the ENVIRONMENT value, and I still cannot get the Debug Toolbar to display, which I really enjoyed using in CI4 Alpha 1.