NPM task for services debugging

This commit is contained in:
Juan 2018-10-22 17:01:09 +02:00
parent 6186900b02
commit c1a0167751
2 changed files with 7 additions and 2 deletions

6
.vscode/launch.json vendored
View File

@ -4,7 +4,11 @@
{
"type": "node",
"request": "attach",
"name": "Attach by Process ID",
"name": "Attach"
}, {
"type": "node",
"request": "attach",
"name": "Attach by process ID",
"processId": "${command:PickProcess}"
}
]

View File

@ -82,6 +82,7 @@
"scripts": {
"test": "nodemon -q services_tests.js -w services",
"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"
}
}