Skip to content

Commit a7e245d

Browse files
author
Giuseppe De Marco
authored
debug-docker-attach (#143)
* debug-docker-attach This PR enables the use of pytho ndebugger within a dockerized context * Apply suggestions from code review
1 parent fcca9de commit a7e245d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Docker-compose/docker-compose.yml

+2
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ services:
6161
container_name: satosa-saml2spid
6262
depends_on:
6363
- satosa-mongo
64+
stdin_open: ${SATOSA_DEBUG:-false} # enables PDB when attach to the compose
65+
tty: ${SATOSA_DEBUG:-false} # enables PDB when attach to the compose
6466
environment:
6567
- SATOSA_BY_DOCKER=1
6668
- GET_IDEM_MDQ_KEY=${GET_IDEM_MDQ_KEY:-true}

0 commit comments

Comments
 (0)