NPM task for services debugging
This commit is contained in:
parent
6186900b02
commit
c1a0167751
|
@ -4,7 +4,11 @@
|
||||||
{
|
{
|
||||||
"type": "node",
|
"type": "node",
|
||||||
"request": "attach",
|
"request": "attach",
|
||||||
"name": "Attach by Process ID",
|
"name": "Attach"
|
||||||
|
}, {
|
||||||
|
"type": "node",
|
||||||
|
"request": "attach",
|
||||||
|
"name": "Attach by process ID",
|
||||||
"processId": "${command:PickProcess}"
|
"processId": "${command:PickProcess}"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -82,6 +82,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "nodemon -q services_tests.js -w services",
|
"test": "nodemon -q services_tests.js -w services",
|
||||||
"dbtest": "nodemon -q db_tests.js -w services/db/tests",
|
"dbtest": "nodemon -q db_tests.js -w services/db/tests",
|
||||||
"lint": "eslint ./ --cache --ignore-pattern .gitignore"
|
"lint": "eslint ./ --cache --ignore-pattern .gitignore",
|
||||||
|
"services": "node --inspect ./node_modules/gulp/bin/gulp.js services"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue