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 (21. 11. 2022 14:54)

- Pavel Kravčík
- Member | 1210
There is %debugMode%.
//config
- AppModel(%debugMode%)
class AppModel
{
pf __construct(private bool $debugMode)
}