2016年1月24日 星期日

nodejs 常用指令


開發工具http://www.nodeclipse.org/


常用指令:

npm ls ~ 列出目前npm 已經安裝的模組

npm install [模組名稱] -g ~ 加-g代表是全域使用(只針對該專案就不用加)


進入debug模式:

1.command line 在你的專案下輸入
node --debug app.js

2.在nodeclipse中啟動偵錯


























3.使用RestClient觸發偵錯程序

chrome-extension://hgmloofddffdnphfgcellkdfbfbjeloo/RestClient.html




沒有留言:

張貼留言

熱門文章