register debug