I am attempting to debug cuda programs on a remote server. I have set up the Remote-SSH extension for VSCode and that seems to be working perfectly. However, I can not get any file to actually run with or without debugging using the NSight extension. The indicator bar appears, but nothing happens and there is no output in the debug console.
I believe I followed all of the steps for setting up the extensions correctly. My cuda file builds correctly and I am even able to run cuda-gdb on the file through a terminal, but cannot get it to run using VSCode.
That path works for running cuda-gdb directly from the terminal.
Now the debug console simply outputs this:
Failed to find cuda-gdb or a dependent library.
This issue has been resolved in CUDA-GDB versions shipping with CUDA Toolkit 11.4 or newer. The issue is that the version of libncurses we link against to build the CUDA-GDB binary doesn’t match the major libncurses on every system. To avoid this issue going forward, we disabled gdb TUI support in the CUDA-GDB binary included with the CUDA Toolkit.