change node debug method to debug from print to avoid ugly highlighting