Skip to main content
Question

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

  • December 7, 2017
  • 1 reply
  • 105 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...

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

carsonlam
Safer
Forum|alt.badge.img+7
  • Safer
  • 62 replies
  • 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.