added optional parametar to Node to turn on debugging (which isn't documented and probably won't be because it spits output using warn)