Using Docker and Pycharm for Remote Django Debugging

preview_player
Показать описание
In this video I walk through the setup steps I follow to get an interactive coding / debugging experience with a project running in a docker container.
Рекомендации по теме
Комментарии
Автор

Cheers Tim this really helped me set up remote debugging with my Django instance!

dinofizz
Автор

That was very informative though I'm using VirtualBox instead of Docker. I could do all that until you got to the part where you started the remote python interpreter on the django server project. I got an error doing that, which seemed to be because it couldn't do what it needed to do on the remote machine because it wasn't within a virtual environment there. That's true and unfortunately is outside of my control, at least in the short-term, because another programmer set up the whole installation process using an ansible playbook and it's not something that I can understand or modify, at least in the short term.

BruceCichowlas
Автор

"I'm not showing you how to get the machines built." Having a lot of trouble with pycharm and docker. Obviously I am ignorant, but where should I go to learn how to "get the machines built." Is this something that pycharm does, or something else? I wish there was a more thorough pycharm docker demo.

cgoobes
Автор

Thanks for the video. It only works with the professional version of Pycharm?

marisareis
Автор

How can I get the password for root user to configure it on Pycharm?

Here's what I tried- I added another user. Added him to the sudo group. Configured his credential pair in Pycharm. Test Connection was successful. However, when I run the application, it seems that Pycharm is getting a Permission Denied error while accessing certain files.

SankalpAnand