安裝指令 $npm install -g node-inspector. 調校. 執行時會預設5858 port 口。我們使用前一個聊天室專案來示範,使進行debug 動作時請下指令: $node —debug app.js.
確定! 回上一頁