I have a remote Ubuntu VM with my source code, makefile and resultant program on it.
I have a Windows machine with VS2019 and I am trying to remotely debug the program.
The source code is not currently on the Windows machine at all.
I have created an Empty C++ Linux project.
The SSH connection is working and the Connection Manager seems happy.
The program can be started and the Linux Console shows the program running.
I cannot work out how to add the files so that I can then add breakpoints to them.
Previously when I was using WSL2 I was able to "Add Existing Item" and then browse on my U: (for Ubuntu) wsl drive or \wsl$.
I have read about the Property called Copy Sources https://learn.microsoft.com/en-us/cpp/linux/prop-pages/copy-sources-project?view=msvc-160
but I'd rather not edit the vcxproj file to copy files from Windows to Ubuntu if possible.
Any ideas please?