I am quite new to slicer development and I am trying to create a small slicelet in Python. Therefore I was trying to attach the debugger in Visual Studio 2017 as described here:
When trying to attach though I also end up with the error “…make sure that ptvsd.enable_attach() has been called…”.
I tried to use the Python Debugger extension as well as manually calling “enable_attach” and “wait_for_attach”. I also tried the release as well the nightly version of Slicer. I also made sure to have the newest version of ptvsd which is 3.2.1.
Any ideas what could be wrong here? Or is VS2017 simply not supported?