Closed azl397985856 closed 5 years ago
Actually, if u'r familiar with attach mode in VSCode
, it will be very comfortable for u.
Below is the detailed info:
-e, --eval=... evaluate script
node -e 'process._debugProcess(30464)'
$ kill -SIGUSR1 30464
node --inspect app.js 可以用来调试应用,但是需要在一开始启动的时候指定--inspect参数,如果一个 Node.js 进程已经启动该怎么办?