How can I activate debug mode for specific users or areas?

Dr.Yontem

Formerly Tilkißey
i wanna activate debug mode for only user_id=1 or only admins or only on admin.php file
is there any way for this?
 

xfrocks

Well-known member
Call this method

PHP:
XenForo_Application::getDebugMode(true);
You will need to call it early or you will have to turn on the database profiler yourself. For more information, just go read XenForo/Application.php
 
Top