Skip to main content
Question

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

  • December 7, 2017
  • 1 reply
  • 82 views

Forum|alt.badge.img

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

carsonlam
Safer
Forum|alt.badge.img
  • Safer
  • December 7, 2017

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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings