- Attach to a running CUDA process It is now possible to attach to a CUDA application that is already running. It is also possible to detach from the application before letting it run to completion. When attached, all the usual features of the debugger are available to the user, as if the application had been launched from the debugger. This feature is also supported with applications using Dynamic Parallelism.
Additional Launch Settings
Path to a file containing environment variables to set for the debuggee process. Each line is formatted as either:
- unset KEY (used to unset the environment variable)
Provide an array of cuda-gdb commands to run before debugging is started.
If true, the debugger should stop at the entry points of the debuggee.
current working directory for debuggee.
We’ve updated the VSCode npm packages to the latest versions to address known vulnerabilities.
See cuda-gdb release notes in the NVIDIA CUDA Toolkit 11.6 Update 2.
Microsoft Visual Studio Code 1.56.0 (and later)
NVIDIA CUDA Toolkit 11.6 Update 2 (and later)
NVIDIA 510.47.03 (and later)
Visit the Nsight VSCode Edition overview page
The Nsight VSCode Edition overview page is your information hub for general information, availability, videos, and other links to other NVIDIA tools for GPU code development.
See the Nsight VSCode Edition spotlight video
This Nsight VSCode Edition spotlight shows you how Nsight VSCode Edition fits in with the other NVIDIA IDE debuggers and can be set up in Microsoft’s Visual Studio Code. Then, you’ll see all the key features in action. You’re going to love it!
See Nsight VSCode Edition demonstrated at GTC’21
GTC’21 Video On Demand: Latest Enhancements to CUDA Debugger IDEs
View the Microsoft announcement for the VSCode extension by Nsight VSCE
CUDA Support in Visual Studio Code with Julia Reid
- Read the blog postings
Have a feature request or enhancement suggestion?
Provide feedback. Note that we may not get back to you on these, but will review these entries periodically as we plan our next releases.
Visit the Nsight VSCE Forum . Our experts and the Nsight VSCE community will be there for you.
- CUDA Toolkit : Install the CUDA Toolkit to get important tools for CUDA application development including the NVCC compiler driver and cuda-gdb , the NVIDIA tool for debugging CUDA.
- Microsoft vscode-cpptools : Install Microsoft’s C/C++ for Visual Studio Code to get Intellisense support for CUDA C++ code. Nsight VS Code Edition will automatically install this extension.
Open or create a new CUDA application.
Create a launch configuration .