Docker-compose and pdb

前端 未结 3 622
迷失自我
迷失自我 2020-12-12 15:57

I see that I\'m not the first one to ask the question but there was no clear answer to this:

How to use pdb with docker-composer in Python development?

W

3条回答
  •  忘掉有多难
    2020-12-12 16:05

    Try running your web container with the --service-ports option: docker-compose run --service-ports web

提交回复
热议问题