Skip to content

Commit c57e7e9

Browse files
WardenGnawgregg-miskelly
authored andcommitted
Clean up and adding required fields. (#1284)
* Clean up and adding required fields. Requiring pipeProgram and debuggerPath to PipeTransport. Removing trace and trace response as they have been merged into engine logging. * Removing requirement on pipeProgram.
1 parent 8016bdc commit c57e7e9

File tree

2 files changed

+7
-30
lines changed

2 files changed

+7
-30
lines changed

package.json

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -696,22 +696,15 @@
696696
"type": "boolean",
697697
"description": "Optional flag to determine whether diagnostic engine logs should be logged to the output window.",
698698
"default": false
699-
},
700-
"trace": {
701-
"type": "boolean",
702-
"description": "Optional flag to determine whether diagnostic adapter command tracing should be logged to the output window.",
703-
"default": false
704-
},
705-
"traceResponse": {
706-
"type": "boolean",
707-
"description": "Optional flag to determine whether diagnostic adapter command and response tracing should be logged to the output window.",
708-
"default": false
709699
}
710700
}
711701
},
712702
"pipeTransport": {
713703
"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).",
714704
"type": "object",
705+
"required": [
706+
"debuggerPath"
707+
],
715708
"default": {
716709
"pipeCwd": "${workspaceRoot}",
717710
"pipeProgram": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'",
@@ -946,22 +939,15 @@
946939
"type": "boolean",
947940
"description": "Optional flag to determine whether diagnostic engine logs should be logged to the output window.",
948941
"default": false
949-
},
950-
"trace": {
951-
"type": "boolean",
952-
"description": "Optional flag to determine whether diagnostic adapter command tracing should be logged to the output window.",
953-
"default": false
954-
},
955-
"traceResponse": {
956-
"type": "boolean",
957-
"description": "Optional flag to determine whether diagnostic adapter command and response tracing should be logged to the output window.",
958-
"default": false
959942
}
960943
}
961944
},
962945
"pipeTransport": {
963946
"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).",
964947
"type": "object",
948+
"required": [
949+
"debuggerPath"
950+
],
965951
"default": {
966952
"pipeCwd": "${workspaceRoot}",
967953
"pipeProgram": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'",

src/tools/OptionsSchema.json

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
},
4545
"PipeTransport": {
4646
"type": "object",
47+
"required": ["debuggerPath"],
4748
"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).",
4849
"default": {
4950
"pipeCwd": "${workspaceRoot}",
@@ -137,16 +138,6 @@
137138
"type": "boolean",
138139
"description": "Optional flag to determine whether diagnostic engine logs should be logged to the output window.",
139140
"default": false
140-
},
141-
"trace": {
142-
"type": "boolean",
143-
"description": "Optional flag to determine whether diagnostic adapter command tracing should be logged to the output window.",
144-
"default": false
145-
},
146-
"traceResponse": {
147-
"type": "boolean",
148-
"description": "Optional flag to determine whether diagnostic adapter command and response tracing should be logged to the output window.",
149-
"default": false
150141
}
151142
}
152143
},

0 commit comments

Comments
 (0)