I may be usefull to say that you need to install options ‘symbols’ for the engine you to attach to, in order to get the debugging from VS to work.
So from Epic launcher do ‘library’ click your current engine and on on the dropdown list select options, there be sure you have checked the link symbols for deugging … envoy the 14+GB of download, … then enjoy debugging !