Use pdb inside docker image

Hello,
I would like some help using pdb to debug tryton inside docker container, I’ve tried with docker attach but always get pdb.Quit.

Does anyone already tried this?
Thanks in advance.

This command did the trick:

docker run -it --name tryton -p 8000:8000 --link tryton-postgres:postgres -e DB_PASSWORD=mysecretpassword tryton/tryton

2 Likes

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.