Add debugger as well

This commit is contained in:
Fang-Pen Lin
2025-11-17 11:55:45 -08:00
parent 9a36b55f5f
commit da41eeb2be
2 changed files with 3 additions and 2 deletions

View File

@@ -4,5 +4,5 @@
], ],
"ext": ".ts,.js", "ext": ".ts,.js",
"ignore": [], "ignore": [],
"exec": "tsx ./src/main.ts --config tsconfig.dev.json | pino-pretty --colorize --colorizeObjects --singleLine" "exec": "tsx --inspect=0.0.0.0:9229 --config tsconfig.dev.json ./src/main.ts | pino-pretty --colorize --colorizeObjects --singleLine"
} }

View File

@@ -71,6 +71,7 @@ services:
ports: ports:
- 4000:4000 - 4000:4000
- 9464:9464 # for OTEL collection of Prometheus metrics - 9464:9464 # for OTEL collection of Prometheus metrics
- 9229:9229 # For debugger access
environment: environment:
- NODE_ENV=development - NODE_ENV=development
- DB_CONNECTION_URI=postgres://infisical:infisical@db/infisical?sslmode=disable - DB_CONNECTION_URI=postgres://infisical:infisical@db/infisical?sslmode=disable