Add debug methods to Server