Add debug logging support in services