Add debug logs for pasting