Skip to content

Commit 1e8a526

Browse files
committed
Fix logDir to be logToFolder
1 parent d825876 commit 1e8a526

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
"type": "string",
127127
"description": "The path to the log file. This option is ignored if either the `server` or `runtimeArgs` is specified. If no location is specified, the behaviour depends on `--log-to-folder"
128128
},
129-
"logDir": {
129+
"logToFolder": {
130130
"type": "string",
131131
"description": "Enable logging to the default folder. This option is ignored if either the `logFile` or `runtimeArgs` is specified.`"
132132
},
@@ -359,7 +359,7 @@
359359
"type": "string",
360360
"description": "The path to the log file. This option is ignored if either the `server` or `runtimeArgs` is specified. If no location is specified, the behaviour depends on `--log-to-folder"
361361
},
362-
"logDir": {
362+
"logToFolder": {
363363
"type": "string",
364364
"description": "Enable logging to the default folder. This option is ignored if either the `logFile` or `runtimeArgs` is specified.`"
365365
},

src/extension.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -364,8 +364,8 @@ class ProbeRSDebugAdapterServerDescriptorFactory implements vscode.DebugAdapterD
364364
if (session.configuration.hasOwnProperty('logFile')) {
365365
args.push('--log-file');
366366
args.push(session.configuration.logFile);
367-
} else if (session.configuration.hasOwnProperty('logDir')) {
368-
args.push('--log-dir');
367+
} else if (session.configuration.hasOwnProperty('logToFolder')) {
368+
args.push('--log-to-folder');
369369
args.push(session.configuration.logDir);
370370
}
371371

0 commit comments

Comments
 (0)