最近在学习 Node.js ,发现查找错误非常难。
各位大神好有的建议吗
To facilitate error handling and debugging, rather than use callback style, use Promise (ES6) or generator-based async libraries like co.js.
13 回答12.9k 阅读
7 回答2.1k 阅读
3 回答2.6k 阅读✓ 已解决
3 回答1.3k 阅读✓ 已解决
2 回答1.3k 阅读✓ 已解决
6 回答1.2k 阅读✓ 已解决
6 回答1.1k 阅读
debug工具会用, 比较好的有node-inspector和vscode的debug