Closed collinmccarthy closed 1 year ago
Hi @collinmccarthy! Currently, we support setting environment variables using envFile. Here is the documentation. Alternately, you could set "initCommands" = ["set environment TMPDIR= ${workspaceFolder}/../cuda-gdb-tmp"]
in your launch.json. We currently do not support setting miDebuggerArgs, but will consider this is a feature request.
Hi @collinmccarthy as of our latest release we support setting "environment".
Hello,
With
type=cppdbg
we can configure with environment and miDebuggerArgs. I would like to do the same when launching and attaching viatype=cuda-gdb
. To use cuda-gdb on our cluster, I need to pass in--cuda-use-lockfile=0
as a debugger argument and/or setTMPDIR=${workspaceFolder}/../cuda-gdb
as an environment variable.I tried using the following in my
launch.json
but the status bar is missing the current threadblock focus and I'm not sure if it is working 100% correctly under the hood.Is this the recommended way to do this? Or, is this possible with
type=cuda-gdb
and I'm missing it? If not, please consider it a feature request. I really like debugging in VSCode and don't want to have to resort to the command line tool when I need to use these features.Thank you, -Collin