Add debugger support to watch task
0.0.0.0 used as IP to allow debugging from Windows to WSL2cshd
parent
7227775c27
commit
0d25e48cd5
|
@ -6,7 +6,7 @@
|
|||
"main": "src/index.js",
|
||||
"scripts": {
|
||||
"start": "node src/index.js",
|
||||
"watch": "supervisor -n exit -w src src/index.js",
|
||||
"watch": "supervisor -n exit -w src --inspect=0.0.0.0:9229 src/index.js",
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"lint": "eslint ./src ./db/migrations",
|
||||
"lint-fix": "eslint --fix ./src ./db/migrations",
|
||||
|
|
Loading…
Reference in New Issue