启动程序使用命令 node --debug app.js
路由匹配的中间件中使用console.log(req); app.get(’/’, function(req, res, next){ console.log(req); });
出现错误 Segmentation fault: 11
程序就终端了,请问这是什么问题?
丢到github上,然后我看看吧
https://github.com/chenyiqi/express-test.git @i5ting
CNode 社区为国内最专业的 Node.js 开源技术社区,致力于 Node.js 的技术研究。
丢到github上,然后我看看吧
https://github.com/chenyiqi/express-test.git @i5ting