Question

How can I use visual studio as python IDE for FME?

  • 7 December 2017
  • 1 reply
  • 21 views

Badge

I'm trying to use visual studio 2015 as Python IDE to debug the code. Is this even possible? If not what is the easiest way to debug python scripts? Unfortunately, I found no answer witch works for me...


1 reply

Badge

This should be possible, but you need to use PTVS' remote debug feature. If the Python code is inside a PythonCaller, PythonCreator, or startup/shutdown script, then the portion of the code you want to debug needs to be extracted into a standalone .py file sitting beside the .fmw, so that it can be accessed by PTVS. Then, when the Python code runs during a translation, it'll hit your remote debug breakpoint.

Reply