Execute .profile at start of remote debug session
已回答
I have several environment variables set up via my .profile script. When I am remote debugging into this system, I would like it to use the same environment as if I were logged in locally and .profile had been run.
Is there a way to do this with PyCharm? I know I can set up environment variables individually for remote debugging but that is a lot of duplication and is error-prone.
请先登录再写评论。
Hi! You can execute your .profile file as "Before launch" command in your Run configuration.