From b7279540c277b9fb8fa22036011434bfba1030b1 Mon Sep 17 00:00:00 2001 From: granitrocky Date: Sat, 1 Jun 2024 21:01:51 -0500 Subject: [PATCH] Disable "debuggerPath" as required --- package.json | 12 ------------ src/coreclrDebug/activate.ts | 2 ++ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index 5546cde4f..e34bd7fdb 100644 --- a/package.json +++ b/package.json @@ -2306,9 +2306,6 @@ "pipeTransport": { "description": "%generateOptionsSchema.pipeTransport.description%", "type": "object", - "required": [ - "debuggerPath" - ], "default": { "pipeCwd": "${workspaceFolder}", "pipeProgram": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'", @@ -2838,9 +2835,6 @@ "pipeTransport": { "description": "%generateOptionsSchema.pipeTransport.description%", "type": "object", - "required": [ - "debuggerPath" - ], "default": { "pipeCwd": "${workspaceFolder}", "pipeProgram": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'", @@ -3646,9 +3640,6 @@ "pipeTransport": { "description": "%generateOptionsSchema.pipeTransport.description%", "type": "object", - "required": [ - "debuggerPath" - ], "default": { "pipeCwd": "${workspaceFolder}", "pipeProgram": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'", @@ -4178,9 +4169,6 @@ "pipeTransport": { "description": "%generateOptionsSchema.pipeTransport.description%", "type": "object", - "required": [ - "debuggerPath" - ], "default": { "pipeCwd": "${workspaceFolder}", "pipeProgram": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'", diff --git a/src/coreclrDebug/activate.ts b/src/coreclrDebug/activate.ts index 6e8d52a67..f8cb10f71 100644 --- a/src/coreclrDebug/activate.ts +++ b/src/coreclrDebug/activate.ts @@ -314,6 +314,8 @@ export class DebugAdapterExecutableFactory implements vscode.DebugAdapterDescrip } if (pipeTransport.debuggerArgs) { args = pipeTransport.debuggerArgs; + } else { + args.push('--interpreter=vscode', '--'); } if (pipeTransport.pipeProgram) { args.push(pipeTransport.pipeProgram);