SSH interpreter session environment settings
A general version of the question is:
Assume that you are working on a ssh interpreter and that you want to set some environment variables or settings, but just for the debugging process. Of course you can work around it with something like `os.environ` or similar, but is there any other way to set it before entering the debugging session and for only as long as you are working in that session?
In specific, I want to increase the open file limit just for the debugging session. Is that possible?
Thanks!
Please sign in to leave a comment.
As you probably know, you can set env variables in the run/debug configuration. So, you can create a separate configuration for debugging with env variables you want.
Didn't know that, thanks Andrey! Is it also possible to run shell commands just before the session?
Yes, you can also tell PyCharm to run shell commands before the run or debug configuration itself, please see: https://www.jetbrains.com/help/pycharm/run-debug-configurations-dialog.html#before-launch-options