Skip to content

Commit ca7fd10

Browse files
committed
Rename "verboseLogging" setting to "captureSessionLogs"
1 parent e709ee1 commit ca7fd10

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lldb/tools/lldb-dap/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@
111111
"type": "string"
112112
}
113113
},
114-
"lldb-dap.verboseLogging": {
114+
"lldb-dap.captureSessionLogs": {
115115
"type": "boolean",
116-
"description": "Enable verbose logging to the \"LLDB-DAP\" output channel for the running debug session. Also will write LLDB-DAP session logs to the Extension's log folder if the `lldb-dap.log-path` setting is not explicitly set.",
116+
"description": "When enabled, LLDB-DAP session logs will be written to the Extension's log folder if the `lldb-dap.log-path` setting is not explicitly set.",
117117
"default": false
118118
}
119119
}

lldb/tools/lldb-dap/src-ts/debug-adapter-factory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ export async function createDebugAdapterExecutable(
198198
if (log_path) {
199199
env["LLDBDAP_LOG"] = log_path;
200200
} else if (
201-
vscode.workspace.getConfiguration("lldb-dap").get("verboseLogging", false)
201+
vscode.workspace.getConfiguration("lldb-dap").get("captureSessionLogs", false)
202202
) {
203203
env["LLDBDAP_LOG"] = logFilePath(
204204
`lldb-dap-session-${formatDate(new Date())}.log`,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export type LogFilePathProvider = (name: string) => string;
1+
export type LogFilePathProvider = (name: string) => string;

0 commit comments

Comments
 (0)