A
A
Anton2015-11-26 08:49:57
Python
Anton, 2015-11-26 08:49:57

How to set up Python remote debugging in WingIDE?

Please tell me how to remotely debug Python in WingIDE.
There is a local Windows and a remote Linux server.
On a remote Linux server, you need to debug a Python script.
Install WingIDE on the local Windows, copy wingdbstub.py to the folder with the script on the Linux server.
Add the wingdbstub.py import line to the Python script that needs to be debugged.
In wingdbstub.py we change kWingHostPort from 'localhost:50005' to 'Server IP address:50005'
And then I don't understand the documentation.
Need to copy Python Script to local Windows and run it in WingIDE and set breakpoints?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question