How to debug node.js application with Visual Studio 2013 and Node Tools NTVS

前端 未结 3 1982
不思量自难忘°
不思量自难忘° 2020-12-24 15:28

I have moved an existing node.js + express project to VS because I prefer the IDE over JetBrains for now (used VS for years, only peeked into Webstorm).

I used NTVS

3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-24 16:20

    Its pretty straight forward with NTVS, you can download required version for your windows from github here

    Once you install NTVS, NodeJS project templates will be added

    Now, Goto File->New project -> Basic NodeJS Express 3 application (it will be available in javascript project templates)

    Now just goto debug and select Start Debugging, add breakpoints where ever required and you can start debugging

提交回复
热议问题