vscode新手,想使用nodemon进行debug后台项目,有哪位大神贴一下配置文件
代表变动nodemon就重启进程,你的debug肯定会断,没意义吧
上上一个版本的 vscode 就已经支持 restart: true 来在重启后自动 attach 了.
restart: true
https://code.visualstudio.com/docs/nodejs/nodejs-debugging#_restarting-debug-sessions-automatically-when-source-is-edited
@maochunguang 端口是不是没配对
@atian25 没多少意义啊,耗时和操作都没有简便啊
不用重新手动 attach
CNode 社区为国内最专业的 Node.js 开源技术社区,致力于 Node.js 的技术研究。
代表变动nodemon就重启进程,你的debug肯定会断,没意义吧
上上一个版本的 vscode 就已经支持
restart: true来在重启后自动 attach 了.https://code.visualstudio.com/docs/nodejs/nodejs-debugging#_restarting-debug-sessions-automatically-when-source-is-edited
@maochunguang 端口是不是没配对
@atian25 没多少意义啊,耗时和操作都没有简便啊
不用重新手动 attach