PHP Code:
$debug = array(1, 2, 3, 4);
$debug_ids = (SQL_DEBUG && in_array($CURUSER['id'], $debug) ? 1 : 0);
On each template.php function stdfoot - Everyone does not see that... if you would follow and trace the code you would have seen that only the userid's in the allowed array can see the query debug info. Its setup for the Sysop to have it on because that is info you need to see if you know anything about code.