Some debug helpers to track queries, memcached requests etc