2018년 9월 19일 수요일

node.js live debugging

  • 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

댓글 없음:

댓글 쓰기

via permission error linux chrome

 https://bbs.archlinux.org/viewtopic.php?id=285709