Skip to content

Commit

Permalink
add a debug config for cuda debugging the current target
Browse files Browse the repository at this point in the history
  • Loading branch information
ericniebler committed Sep 28, 2023
1 parent 637569c commit d008f67
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,17 @@
"initCommands": ["settings set target.disable-aslr false"],
"args": "${input:CXX_PROGRAM_ARGS}",
},
{
"name": "CUDA Current Target (cuda-gdb)",
"type": "cuda-gdb",
"request": "launch",
"stopAtEntry": false,
"breakOnLaunch": false,
"internalConsoleOptions": "neverOpen",
"program": "${command:cmake.launchTargetPath}",
"cwd": "${command:cmake.launchTargetDirectory}",
"args": "${input:CXX_PROGRAM_ARGS}",
},
],
"inputs": [
{
Expand Down

0 comments on commit d008f67

Please sign in to comment.