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

DrYontem

Well-known member
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?
 
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 Bottom