本想用node inspector加node js development mode.js,代码热部署加调试,发现调试只能看到node js development mode.js的代码。先采用sys.debug也不错,可以输出变量,再找找是否有日志配置功能,这样就更方便了。