To highly simplify the remote debugging process between two windows machines, make is universal for all IDEs and avoid SSH file permission errors on Windows, I made my own python library that solves this problem.
Just run pip install pywinrd
and create those two scripts:-
Server.py
from PyWinRD.Server import WinRDServer
server = WinRDServer()
server.start()
Client.py
from PyWinRD.Client import WinRDClient
client = WinRDClient()
client.connect()
client.deploy('path/to/file/or/folder')
client.debug('path/to/python/script')
client.terminal('termninal command')
client.disconnect()
Run Server.py
on the host Windows machine, and Client.py
on your machine, you will have the ability to execute terminal commands, deploy extra files/folders and debug any python script you want on the host machine.
A copy of all the stdout, stderr calls on the python script you are debugging will be redirected to your machine in real-time (ex. print and raise statements).
All the stdin calls will be redirected to your machine only (ex. input statements), so the server will not interfere with them.