The remaining fields should be populated automatically. Add a description, enter the Prefix path to the python-install directory in your build tree, like C:\D\S4D\python-install, then click Auto Detect.Select View > Other Windows > Python Environments to show the Python Environments window.This enables IntelliSense specific to this Python environment. Optional: configure Slicer's Python environment in Visual Studio."Python language support" is part of Visual Studio 2017, and can be added through the installer. PTVS installs as an extension to Visual Studio. Note that as of October 2015 the latest version requires Visual Studio 2013 or Visual Studio 2015. For connecting to VisualStudio manually, follow the instructions described on this page below. To use this extension, follow these instructions. Its remote debugging capability allows attaching the debugger to Slicer's embedded Python environment.ĭebuggingTools extension makes it easy to connect to VisualStudio remote Python debugger from Slicer. On Windows, Python Tools for Visual Studio (PTVS) enables debugging Python inside Visual Studio. 4 Configure the remote debugging server.