使用自动附加功能,每次运行节点项目时我都会遇到2个调试器
[nodemon] starting `node --inspect=0.0.0.0:9222 --nolazy -r ./tsconfig-paths-bootstrap.js -r ts-node/register -r tsconfig-paths/register ./src/main.ts`
Debugger listening on ws://0.0.0.0:9222/5993fa9b-5466-4487-9247-6dbb086b7821
For help, see: https://nodejs.org/en/docs/inspector
Debugger attached.
Debugger attached.
有人可以帮我解释这种行为吗?
这是npm脚本:
debug: "nodemon --watch ./dist --inspect=0.0.0.0:9222 --nolazy -r ./tsconfig-paths-bootstrap.js -r ts-node/register -r tsconfig-paths/register ./src/main.ts"