Debugging added to troubleshooting for node