Pycharm 2017.1 running remote debugging with a root interpreter
Answered
Hi all,
I set up a deployment + a remote interpreter and I want to debug some code but it does need sudo privileges.
I know that there is a work around that: I can define a bash script (sudo-python.sh) that executes sudo python and then add that script to sudoers.
The problem comes when I add that as a remote interpreter. It seems to work, and actually I can remotely debug the code, but there pycharm starts a process in the background (trying to connect to remote interpreter or something like this) and that stays there forever. Furthermore, that makes the inspection slow or even sometimes it does not work.
is there a way to do this without the extra script?
Please sign in to leave a comment.
Unfortunately, no. Please vote for https://youtrack.jetbrains.com/issue/PY-15288 to increase its priority and be notified about updates.