mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 13:33:31 +00:00
lldbdap env dict to string
This commit is contained in:
parent
85caf88b54
commit
82b114dbf0
1 changed files with 3 additions and 2 deletions
|
@ -230,7 +230,7 @@ const knownEngines: {
|
||||||
"llvm-vs-code-extensions.lldb-dap":{
|
"llvm-vs-code-extensions.lldb-dap":{
|
||||||
type: "lldb-dap",
|
type: "lldb-dap",
|
||||||
executableProperty: "program",
|
executableProperty: "program",
|
||||||
environmentProperty: (env) => ["env", env],
|
environmentProperty: (env) => ["env", Object.entries(env).map(([k,v])=>`${k}=${v}`)],
|
||||||
runnableArgsProperty: (runnableArgs: ra.CargoRunnableArgs) => [
|
runnableArgsProperty: (runnableArgs: ra.CargoRunnableArgs) => [
|
||||||
"args",
|
"args",
|
||||||
runnableArgs.executableArgs,
|
runnableArgs.executableArgs,
|
||||||
|
@ -352,7 +352,8 @@ type CCppDebugConfig = {
|
||||||
type LldbDapDebugConfig = {
|
type LldbDapDebugConfig = {
|
||||||
program: string;
|
program: string;
|
||||||
args: string[];
|
args: string[];
|
||||||
env: Record<string, string>;
|
env: string[];
|
||||||
|
sourceMap: [string,string][];
|
||||||
} & BaseDebugConfig<"lldb-dap">;
|
} & BaseDebugConfig<"lldb-dap">;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue