Can't debug Raspberry Pi using visual studio python tools
I'm trying to debug python code on my RPi from VS2013 using visual studio python tools, but couldn't connect to python console running on Pi all the time.
this is my frag.in Pi code:
import ptvsd ptvsd.enable_attach('secret',address = ('0.0.0.0',5678)) ptvsd.wait_for_attach() for i in range(10): print (i) print ('hello visual studio')
Im using Python3 in both machines and using the latest ptvsd i belive (PTVS 2.1 RC2 VS
When I try to connect, I get an error that says
Remote server at tcp://secret@rgpi:5678/ is not a Python tools for Visual Studio remote debugging server, or it version is not supported.
where rgpi is the hostname of my Pi, any help would be much appreciated, thanks
source to share
No one has answered this question yet
See similar questions: