The following guides helped me a lot with setting up Eclipse Pydev (on my local machine) and Remote debugging (on a virtual machine):
http://pydev.org/manual_adv_remote_debugger.html
http://brianfisher.name/content/remote-debugging-python-eclipse-and-pydev
If I understand things correctly, the application that I'm debugging has to be started on the remote host. So, the application uses the remote Python version.
Now, after the pydevd.settrace(), Eclipse (local host) tells me that it uses local python files in the stacktrace. Is this because of the path mapping in pydevd_file_utils.py (PATHS_FROM_ECLIPSE_TO_PYTHON)? Because some of the files are outside these mappings (threading for example).
Imagine the following case: I'm debugging my application on a production like (virtual) machine (Python 2.4) but my Eclipse is hosted on a newer dev machine (Python 2.7 by default). Will the application run under the remote 2.4 python? Or under the local 2.7 python?