解決vscode egg調試出現: this socket has been ended by other party【轉】


如果是最新的1.22

 "runtimeArgs": [ "run", "debug", "--", "--inspect" // 而不是--inspect-brk ],

但是這樣對於項目啟動期間的debugger無法捕捉到, 具體看官方inspect區別

If you want to attach the VS Code debugger to a Node.js program, launch Node.js in VS Code’s integrated terminal as follows: node --inspect program.js or if the program should not start running but must wait for the debugger to attach: node --inspect-brk program.js


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM