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

xfrocks

Well-known member
#2
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