Add debug logs