Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Add debugger as well

Fang-Pen Linda41eeb2be50
diff --git a/backend/nodemon.json b/backend/nodemon.json
index 95a7f23dfd..23c2dc5dc6 100644
--- a/backend/nodemon.json
+++ b/backend/nodemon.json
@@ -4,5 +4,5 @@
],
"ext": ".ts,.js",
"ignore": [],
- "exec": "tsx ./src/main.ts --config tsconfig.dev.json | pino-pretty --colorize --colorizeObjects --singleLine"
-}
\ No newline at end of file
+ "exec": "tsx --inspect=0.0.0.0:9229 --config tsconfig.dev.json ./src/main.ts | pino-pretty --colorize --colorizeObjects --singleLine"
+}
diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml
index e60ef1ba56..b75b6df221 100644
--- a/docker-compose.dev.yml
+++ b/docker-compose.dev.yml
@@ -71,6 +71,7 @@ services:
ports:
- 4000:4000
- 9464:9464 # for OTEL collection of Prometheus metrics
+ - 9229:9229 # For debugger access
environment:
- NODE_ENV=development
- DB_CONNECTION_URI=postgres://infisical:infisical@db/infisical?sslmode=disable