Debugging node.js sample code