ptrhck

Results 36 comments of ptrhck

I am just wondering what a good debug strategy would be as I would need to rerun the debugger to attach again after every code change. Right? Can IDEs understand...

I am used to running my applications in a isolated environments, i.e. Docker containers so that I can replicate my production environment as much as possible and that seems a...

> targe So I tried the `--rm` flag, which worked so far. However, when I also specify a container name `./pants run --docker-run-args="-p 9999:9999 --name django_demo --rm" django:django_dev_image -- runserver...

That is a good hint. Another option could be using the label and filter for it. In general, the debug setup for [VSCode](https://code.visualstudio.com/docs/containers/debug-python) seems to be different than with IntelliJ,...

> > In theory, is it possible to not use pants code reloading but mount the source code to the container and use it that way for within the PEX...

@thejcannon I had a look and the `--debug-adapter` and that is a great feature for debugging purposes for sure! I am not sure what @kaos is referring to regarding this...