How to debug a nodemon project in VSCode

后端 未结 6 1816
醉酒成梦
醉酒成梦 2021-02-04 01:19

I have a NodeJs project and I run it using nodemon,
I wish to run it in debug mode for development tasks, but I am unable to do so.

I found that I\'ll need to ad

6条回答
  •  温柔的废话
    2021-02-04 02:19

    nodemon listens to files changes and re-start the app on another process

    So your configuration is correct but the debugger never "sees" the breakpoints .

    There is no point of running debug mode with nodemon .

    That's is a feature you may want to request on VScode(Auto-Restart on code change)

提交回复
热议问题