I am trying to debug a python script on a remote machine using winpdb.
The thing is, I want to run rpdb2 (the console version of winpdb) in order to start the server on my remote machine in order to run the script.
Then, on my local machine, I want to run winpdb as a client to connect to the rpdb2 server for local debugging.
I managed to do the trick when in localhost, for example:
server: 'remote' (but works in localhost):
screen rpdb2 -s -d -r script.py
client: 'local' (also in localhost):
winpdb -olocalhost -a script.py
. - -o . , winpdb , script.py . -, ?