[개발] nodejs 디버깅

in SteemCoinPan •  5 months ago 

디버깅

https://expressjs.com/en/guide/debugging.html

디버깅은 정말 중요합니다.

내가 원하는 형태로 작업이 잘 이뤄 졌는가를 확인할 수 있기 때문입니다.

debug 라이브러리를 console.log 과 비교 한다면 정말 큰 차이가 있습니다.

윈도와 맥(리눅스계열)에서 차이

in mac

$ DEBUG=express:* node index.js

in windows

> set DEBUG=express:* & node index.js

맺음말

나만의 스타일로 만들어서 쓰는 것도 좋지만, 잘 만들어 진 것을(라이브러리) 가져다 사용하며, 만들고자 하는 서비스의 비즈니스 로직에 집중하는 것이 좋을 것 같는 생각이 예전보단 부쩍 느는 것 같다.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

[광고] STEEM 개발자 커뮤니티에 참여 하시면, 다양한 혜택을 받을 수 있습니다.

@wonsama transfered 1.793 KRWP to @krwp.burn. voting percent : 70.38%, voting power : 19.21%, steem power : 2052611.03, STU KRW : 1200.
@wonsama staking status : 1793.429 KRWP
@wonsama limit for KRWP voting service : 1.793 KRWP (rate : 0.001)
What you sent : 1.793 KRWP [68656652 - 0b521b610cde7512234a217bb4537b8a631cceda]

image.png

Upvoted! Thank you for supporting witness @jswit.