- start node.js app with inspect setting
- pm2: pm2 xxx.js --node-args="--inspect=IP:PORT"
- attach debugger
- CUI
- node inspect IP:PORT
- GUI
- VSCode
- https://code.visualstudio.com/docs/nodejs/nodejs-debugging#_remote-debugging
- https://nodejs.org/docs/latest-v8.x/api/debugger.html
댓글 없음:
댓글 쓰기