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

前端 未结 3 1960
不思量自难忘°
不思量自难忘° 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:26

    For everyone who asks receives, and the one who searches finds....

    (and yes, I did spend a long time searching and trying before posting here..)

    Settings

    Kind of nice to debug node.js server with VS..

    hope this helps someone

    Edit: The arguments to node.exe can be hard to read in the image. It must be

     --debug=
    

    that is with two dashes (and not just one) to specify the debug port.

提交回复
热议问题