We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87baa0e commit 90e3c88Copy full SHA for 90e3c88
src/tools/rust-analyzer/editors/code/src/debug.ts
@@ -230,7 +230,7 @@ const knownEngines: {
230
"llvm-vs-code-extensions.lldb-dap":{
231
type: "lldb-dap",
232
executableProperty: "program",
233
- environmentProperty: (env) => ["env", env],
+ environmentProperty: (env) => ["env", Object.entries(env).map(([k,v])=>`${k}=${v}`)],
234
runnableArgsProperty: (runnableArgs: ra.CargoRunnableArgs) => [
235
"args",
236
runnableArgs.executableArgs,
@@ -352,7 +352,8 @@ type CCppDebugConfig = {
352
type LldbDapDebugConfig = {
353
program: string;
354
args: string[];
355
- env: Record<string, string>;
+ env: string[];
356
+ sourceMap: [string,string][];
357
} & BaseDebugConfig<"lldb-dap">;
358
359
0 commit comments