debug node constructor