My source code is stored on a remote machine and I want to remotely code and debug my Python
source code. How should I configure PyCharm
to enable remote debugging?
For remote debug you need to copy the sources to your local machine, set up a project, configure deployment to the remote machine and add remote Python interpreter to run and debug on the remote system.
It's not possible to work with the source files that are not on the machine where PyCharm is running.
You can find details about deployment and remote interpreter configuration in PyCharm help.
Just as @CrazyCoder say above.
You need to copy the sources to your local machine, set up a project, configure deployment to the remote machine and add remote Python interpreter.
But you can use remote Python interpreter to debug remote source code with set source code path mapping on (detail Ref)
Run | Edit Configurations...
I think remote debug means the interpreter and source code are all in the remote
.
Or through vagrant with Pycharm Pycharm Configuring to work on a VM
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With