1.配置webstrom
注意:Settings | JavaScript | Libraries | download node
参考网址:
https://www.jetbrains.com/help/webstorm/developing-node-js-applications.html
https://blog.jetbrains.com/webstorm/2014/01/getting-started-with-node-js-in-webstorm/
2.区分IDE调试模式 及 Terminal模式
后台输出:
console.log("somethings")
网友评论