2014年8月26日
摘要: http://expressjs.com/migrating-4.htmlThe routing systemapp.route() methodThe newapp.route()method enables you to create chainable route handlers for a... 阅读全文
posted @ 2014-08-26 22:32 大家嗨起来 阅读(290) 评论(0) 推荐(0)
摘要: NodeJs 调试起来跟其它程序也差不多,可以使用Aptana或安装了JS支持插件的Eclipse IDE里进行调试,也可以使用程序自带的debug,运行node程序的时候,添加debug参数,如下:node debug app.js当然,首先需要在程序代码中手动添加中断debugger; , 这样... 阅读全文
posted @ 2014-08-26 00:06 大家嗨起来 阅读(113) 评论(0) 推荐(0)