EOFError on debug
Hi,
I'm trying to run my python script using remote debugging.
So I've added following lines to the beginning of my script:
import pydevd
pydevd.settrace('localhost', port=57777, stdoutToServer=True, stderrToServer=True)
I'm using Python 3.2 and Windows 7
When I try to run it it fails:
C:\Python32\python.exe C:/Users/relgames/Desktop/project1/trunk/test/atf_runner.py
Traceback (most recent call last):
File "C:/Users/relgames/Desktop/project1/trunk/test/atf_runner.py", line 1, in <module>
import pydevd
File "C:\Users\relgames\Desktop\project1\trunk\pydev\pydevd.py", line 2, in <module>
from django_debug import DjangoLineBreakpoint
File "C:\Users\relgames\Desktop\project1\trunk\pydev\django_debug.py", line 3, in <module>
from pydevd_comm import CMD_SET_BREAK
File "C:\Users\relgames\Desktop\project1\trunk\pydev\pydevd_comm.py", line 75, in <module>
import pydevd_vars
EOFError: EOF read where not expected
Process finished with exit code 1
When I just run my script in a debug mode, it works fine. But I do need to run script with remote debugging. What can I do?
Please sign in to leave a comment.