Ubuntu – How to debug a CUDA program built by cmake in VIsual Studio Code?
I'm trying to debug a test program with VS CODE, CMake in Ubuntu 20. I referred mainly to the CUDA debugger document: https://docs.nvidia.com/nsight-visual-studio-code-edition/cuda-debugger/index.html. However, I'm not sure about how to write a correct launch.json in a project based on CMake.…