Debugging

Console.log


Node Debugger

  • NodeJS’ built-in Debugger

  • console창에 node --inspect-brk app.js : window용 // Mac은 node inspect app.js

  • visit chrome://inspect in the Chrome Browser

  • Click inspect to open up the developer tools.

  • Click play icon on the right side of the monitor.

  • You can add breakpoints into your application to stop it at a specific point in the code.

    • debugger를 입력
  • chrome창에서 아무 것도 안뜨면 configure 에서 IP주소랑 포트 입력