print debug node to console