Fixed regex error in node configuration parsing, added some debug messages