我正在使用Meteor和Meteor UP进行部署。
到目前为止一切都很顺利,我可以将我的项目部署到测试的Ubuntu服务器上。
我的问题是我不知道如何在服务器上调试。
如果我使用node.js和express,我只需要写console.log("some error")来查看日志。
日志文件似乎位于/var/log/upstart/.log
但我只能找到:
>> stepping down to gid: meteoruser
>> stepping down to uid: meteoruser
有没有办法输出 "console.log(something)" ?
我使用的是 Ubuntu-14.04 和 Meteor 1.1.0.2。
console.log
在客户端和服务器上都有,则可以同时记录。 - FullStack