Open sinsong opened 4 months ago
vscode document command variables used by cmake tools documented here. A mechanics and use case help utilize launch.json.
launch.json
It would be something like ${command:mesonbuild.currentTarget} and ${command:mesonbuild.currentProjectDir} used in program and cwd:
${command:mesonbuild.currentTarget}
${command:mesonbuild.currentProjectDir}
program
cwd
{ "program": "${command:mesonbuild.currentTarget}", "cwd": "${command:mesonbuild.currentProjectDir}", }
or something more reasonable.
BTW, I don't known why dynamic provided configure grouped in name undefined and none of those work, let vscode say Configured debug type lldb is not supported.
undefined
Configured debug type lldb is not supported
Thanks for logging the feature request.
vscode document command variables used by cmake tools documented here. A mechanics and use case help utilize
launch.json
.It would be something like
${command:mesonbuild.currentTarget}
and${command:mesonbuild.currentProjectDir}
used inprogram
andcwd
:or something more reasonable.
BTW, I don't known why dynamic provided configure grouped in name
undefined
and none of those work, let vscode sayConfigured debug type lldb is not supported
.