Allow remote debugging of dev container
This commit is contained in:
parent
579415c300
commit
2ce2a46c95
|
@ -11,10 +11,11 @@ services:
|
|||
- .:/usr/src/app
|
||||
env_file:
|
||||
- .env
|
||||
command: npm run start:dev
|
||||
command: npm run start:debug
|
||||
ports:
|
||||
- ${SERVICE_PORT:-5005}:${SERVICE_PORT:-5005}
|
||||
- ${HEALTH_SERVICE_PORT:-6005}:${HEALTH_SERVICE_PORT:-6005}
|
||||
- 9225:9229
|
||||
networks:
|
||||
v3-network:
|
||||
aliases:
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
||||
"start": "nest start",
|
||||
"start:dev": "nest start --watch",
|
||||
"start:debug": "nest start --debug --watch",
|
||||
"start:debug": "nest start --debug 0.0.0.0:9229 --watch",
|
||||
"start:prod": "node dist/main",
|
||||
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
|
||||
"lint:check": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix-dry-run --ignore-path .gitignore",
|
||||
|
|
Loading…
Reference in New Issue