How do I debug Node.js applications?

后端 未结 30 2086
暗喜
暗喜 2020-11-22 05:56

How do I debug a Node.js server application?

Right now I\'m mostly using alert debugging with print statements like this:

sys.puts(sys.inspe         


        
30条回答
  •  粉色の甜心
    2020-11-22 06:23

    Visual Studio Code has really nice Node.js debugging support. It is free, open source and cross-platform and runs on Linux, OS X and Windows.

    You can even debug grunt and gulp tasks, should you need to...

提交回复
热议问题