I have not had success using the PyCharm debugger with Docker. Supposedly it is possible, but I have not found the magic combination of switches to flip and knobs to turn.
--steve On 10/5/20 3:31 PM, Bach wrote: > Thanks Steve I've had a good start following that youtube video and looking > through deformdemo (thanks for the pointer) > But I can't get the *ptvsd* debugger to stop at breakpoints.. It's like it > attaches, but is not serving the app.. pserve is. So can't stop on > breakpoints. > > Perhaps I need to move to debugpy <https://github.com/microsoft/debugpy> > instead.. > > *Dockerfile* > > > docker-compose.yml > > > launch.js > > > > > > On Monday, 5 October 2020 at 14:35:43 UTC+11 Steve Piercy wrote: > > Check out deformdemo. It might help you get part of the way there. > > https://github.com/Pylons/deformdemo > > --steve > > > On 10/4/20 8:20 PM, Bach wrote: > > Hi everyone, > > > > been trying to setup Visual Studio Code to debug my Pyramid App running > inside a docker container. > > > > Does anyone have any sample files to share where you got that setup to > work: > > - Dockerfile > > - docker-compose.yml > > - launch.jsonĀ > > > > I initially setup an environment as described in this video, but the > example uses Flask and not pserve: > > https://www.youtube.com/watch?v=b78Tg-YmJZI > > > > Any help or direction will be really appreciated! > > > > thanks > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/pylons-discuss/8980fc68-155f-4348-8109-9bd5a9e8b055n%40googlegroups.com > > <https://groups.google.com/d/msgid/pylons-discuss/8980fc68-155f-4348-8109-9bd5a9e8b055n%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/00b743eb-6cac-8e4b-6e4d-6e7d114bf75d%40gmail.com.
