Cannot attach Python Debugger from Visual Studio 2017

Hi, I tried to debug a custom python scripted module using Visual Studio 2017.

I use Slicer 4.11.0-2020-02-26 and installed the python debugger module.

I followed these steps: https://www.slicer.org/wiki/Documentation/Nightly/Extensions/DebuggingTools#Debugging_in_VisualStudio

In Visual Studio, I created my SlicerPython environment:

I click 'Connect to VisualStudio 2017 debugger" in the module.

When I try to attach, an error is displayed:

The packages for my python environment show the ptvsd:
image

I don’t know what I am doing wrong, please help.

It seems that Python tools were updated in VS2017. Could you try if you can connect if you choose “Visual Studio Code” as debugger in Slicer?