Execute .profile at start of remote debug session
Answered
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.
Please sign in to leave a comment.
Hi! You can execute your .profile file as "Before launch" command in your Run configuration.