Skip to content

Commit 9bc4d2f

Browse files
authored
Adding pipeCwd to schema. (#415)
* Adding pipeCwd to schema. * Adding pipeEnv. * Updating MIEngine and OpenDebugAD7 dependencies.
1 parent 055abb8 commit 9bc4d2f

File tree

2 files changed

+51
-3
lines changed

2 files changed

+51
-3
lines changed

package.json

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,10 +298,16 @@
298298
"type": "object",
299299
"description": "When present, this tells the debugger to connect to a remote computer using another executable as a pipe that will relay standard input/output between VS Code and the .NET Core debugger backend executable (clrdbg).",
300300
"default": {
301+
"pipeCwd": "${workspaceRoot}",
301302
"pipeProgram": "enter the fully qualified path for the pipe program name, for example 'c:\\tools\\plink.exe'",
302303
"pipeArgs": []
303304
},
304305
"properties" : {
306+
"pipeCwd": {
307+
"type": "string",
308+
"description": "The fully qualified path to the working directory for the pipe program.",
309+
"default": "${workspaceRoot}"
310+
},
305311
"pipeProgram": {
306312
"type": "string",
307313
"description": "The fully qualified pipe command to execute.",
@@ -315,14 +321,26 @@
315321
},
316322
"default": []
317323
},
324+
"pipeEnv": {
325+
"type": "object",
326+
"additionalProperties": { "type": "string" },
327+
"description": "Environment variables passed to the pipe program.",
328+
"default": { }
329+
},
318330
"windows": {
319331
"type": "object",
320332
"description": "Windows-specific pipe launch configuration options",
321333
"default": {
334+
"pipeCwd": "${workspaceRoot}",
322335
"pipeProgram": "enter the fully qualified path for the pipe program name, for example 'c:\\tools\\plink.exe'",
323336
"pipeArgs": []
324337
},
325338
"properties": {
339+
"pipeCwd": {
340+
"type": "string",
341+
"description": "The fully qualified path to the working directory for the pipe program.",
342+
"default": "${workspaceRoot}"
343+
},
326344
"pipeProgram": {
327345
"type": "string",
328346
"description": "The fully qualified pipe command to execute.",
@@ -335,17 +353,29 @@
335353
"type": "string"
336354
},
337355
"default": []
356+
},
357+
"pipeEnv": {
358+
"type": "object",
359+
"additionalProperties": { "type": "string" },
360+
"description": "Environment variables passed to the pipe program.",
361+
"default": { }
338362
}
339363
}
340364
},
341365
"osx": {
342366
"type": "object",
343367
"description": "OSX-specific pipe launch configuration options",
344368
"default": {
369+
"pipeCwd": "${workspaceRoot}",
345370
"pipeProgram": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'",
346371
"pipeArgs": []
347372
},
348373
"properties": {
374+
"pipeCwd": {
375+
"type": "string",
376+
"description": "The fully qualified path to the working directory for the pipe program.",
377+
"default": "${workspaceRoot}"
378+
},
349379
"pipeProgram": {
350380
"type": "string",
351381
"description": "The fully qualified pipe command to execute.",
@@ -358,17 +388,29 @@
358388
"type": "string"
359389
},
360390
"default": []
361-
}
391+
},
392+
"pipeEnv": {
393+
"type": "object",
394+
"additionalProperties": { "type": "string" },
395+
"description": "Environment variables passed to the pipe program.",
396+
"default": { }
397+
}
362398
}
363399
},
364400
"linux": {
365401
"type": "object",
366402
"description": "Linux-specific pipe launch configuration options",
367403
"default": {
404+
"pipeCwd": "${workspaceRoot}",
368405
"pipeProgram": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'",
369406
"pipeArgs": []
370407
},
371408
"properties": {
409+
"pipeCwd": {
410+
"type": "string",
411+
"description": "The fully qualified path to the working directory for the pipe program.",
412+
"default": "${workspaceRoot}"
413+
},
372414
"pipeProgram": {
373415
"type": "string",
374416
"description": "The fully qualified pipe command to execute.",
@@ -381,6 +423,12 @@
381423
"type": "string"
382424
},
383425
"default": []
426+
},
427+
"pipeEnv": {
428+
"type": "object",
429+
"additionalProperties": { "type": "string" },
430+
"description": "Environment variables passed to the pipe program.",
431+
"default": { }
384432
}
385433
}
386434
}

src/coreclr-debug/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,8 @@ function createProjectJson(targetRuntime: string): any
337337
},
338338
dependencies: {
339339
"Microsoft.VisualStudio.clrdbg": "14.0.25406-preview-3044032",
340-
"Microsoft.VisualStudio.clrdbg.MIEngine": "14.0.30606-preview-1",
341-
"Microsoft.VisualStudio.OpenDebugAD7": "1.0.20527-preview-1",
340+
"Microsoft.VisualStudio.clrdbg.MIEngine": "14.0.30610-preview-1",
341+
"Microsoft.VisualStudio.OpenDebugAD7": "1.0.20610-preview-3",
342342
"NETStandard.Library": "1.5.0-rc2-24027",
343343
"Newtonsoft.Json": "7.0.1",
344344
"Microsoft.VisualStudio.Debugger.Interop.Portable": "1.0.1",

0 commit comments

Comments
 (0)