I've been using VSCode on Windows to learn CUDA development, but I can't find a way to use a debugger with my program.
I have Nsight Visual Studio Code Edition installed, but when I launch the debugger I get the message Unable to launch cuda-gdb on non-Linux system
. After looking up the problem and seeing that it is indeed not supported, I saw that the solution appears to be to use Nsight Visual Studio edition with Nsight Monitor, which doesn't help me if I'm using Visual Studio Code.
Every guide or tutorial I've seen has either been Visual Studio on Windows, or Visual Studio Code on Linux.
So, do I have to use Visual Studio (and not VSC) if I want to use a debugger?