Expose the debugger in the dev container
This commit is contained in:
		
							parent
							
								
									e8903099d7
								
							
						
					
					
						commit
						492bb3ca44
					
				|  | @ -11,10 +11,11 @@ services: | ||||||
|       - .:/usr/src/app |       - .:/usr/src/app | ||||||
|     env_file: |     env_file: | ||||||
|       - .env |       - .env | ||||||
|     command: npm run start:dev |     command: npm run start:debug | ||||||
|     ports: |     ports: | ||||||
|       - ${SERVICE_PORT:-5006}:${SERVICE_PORT:-5006} |       - ${SERVICE_PORT:-5006}:${SERVICE_PORT:-5006} | ||||||
|       - ${HEALTH_SERVICE_PORT:-6006}:${HEALTH_SERVICE_PORT:-6006} |       - ${HEALTH_SERVICE_PORT:-6006}:${HEALTH_SERVICE_PORT:-6006} | ||||||
|  |       - 9226:9229 | ||||||
|     networks: |     networks: | ||||||
|       v3-network: |       v3-network: | ||||||
|         aliases: |         aliases: | ||||||
|  |  | ||||||
|  | @ -11,7 +11,7 @@ | ||||||
|     "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", |     "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", | ||||||
|     "start": "nest start", |     "start": "nest start", | ||||||
|     "start:dev": "nest start --watch", |     "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", |     "start:prod": "node dist/main", | ||||||
|     "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", |     "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", | ||||||
|     "lint:check": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix-dry-run --ignore-path .gitignore", |     "lint:check": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix-dry-run --ignore-path .gitignore", | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue