How do I debug Node.js applications?

后端 未结 30 2087
暗喜
暗喜 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:21

    The NetBeans IDE has had Node.js support since version 8.1:

    <...>

    New Feature Highlights

    Node.js Application Development

    • New Node.js project wizard
    • New Node.js Express wizard
    • Enhanced JavaScript Editor
    • New support for running Node.js applications
    • New support for debugging Node.js applications.

    <...>

    Additional references:

    1. NetBeans Wiki / NewAndNoteworthyNB81.
    2. Node.js Express App in NetBeans IDE, Geertjan-Oracle.

提交回复
热议问题