Modify debugger command so that node inspector works with ts-node-esm (#4948)

This commit is contained in:
Gaurav Gautam
2023-04-07 14:42:56 +02:00
committed by GitHub
parent 3e5788bd6c
commit ea6adf0f26
+1 -1
View File
@@ -179,7 +179,7 @@
"fix": "npm run lint && npm run format && npm run ts-check",
"check": "npm run ts-check && npm run lint-check && npm run test-min -- --reporter min",
"dev": "cross-env NODE_ENV=DEV ts-node-esm app.ts",
"debugger": "cross-env NODE_ENV=DEV ts-node-esm --inspect app.ts --debug",
"debugger": "cross-env NODE_ENV=DEV node --loader ts-node/esm --inspect-brk app.ts",
"debug": "cross-env NODE_ENV=DEV ts-node-esm app.ts --debug",
"start": "npm run webpack && cross-env NODE_ENV=LOCAL ts-node-esm app.ts",
"codecov": "codecov --disable=gcov",