how to check if debug mode is enabled from presenter function
- mrcosgrove
- Member | 11
Is there a way to retrieve the status of debug mode from the presenter?
I can see the information in the bootstrap file, but can't seem to see how to access it outside the bootstrap file
Last edited by mrcosgrove (2022-11-21 14:54)
- Pavel Kravčík
- Member | 1196
There is %debugMode%
.
//config
- AppModel(%debugMode%)
class AppModel
{
pf __construct(private bool $debugMode)
}