File tree Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 17
17
"env" : {
18
18
"NODE_ENV" : " production"
19
19
}
20
+ },
21
+ {
22
+ "type" : " node" ,
23
+ "request" : " attach" ,
24
+ "name" : " Nodemon Debug" ,
25
+ "port" : 9229 ,
26
+ "restart" : true
20
27
}
21
28
]
22
29
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"delay" : " 0" ,
3
3
"execMap" : {
4
- "ts" : " ts-node"
4
+ "ts" : " node -r ts-node/register "
5
5
},
6
6
"events" : {
7
7
"start" : " tslint -c ./tslint.json -t stylish 'src/**/*.ts'"
Original file line number Diff line number Diff line change @@ -18,6 +18,13 @@ module.exports = {
18
18
* Serves the current app and watches for changes to restart it
19
19
*/
20
20
serve : {
21
+ inspector : {
22
+ script : series (
23
+ 'nps banner.serve' ,
24
+ 'nodemon --watch src --watch .env --inspect'
25
+ ) ,
26
+ description : 'Serves the current app and watches for changes to restart it, you may attach inspector to it.'
27
+ } ,
21
28
script : series (
22
29
'nps banner.serve' ,
23
30
'nodemon --watch src --watch .env'
You can’t perform that action at this time.
0 commit comments