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)
There is %debugMode%.
pf __construct(private bool $debugMode)
Try this way https://blog.nette.org/…-to-services