Implement debug resource