Use node directly instead of reading attributes for debugging