We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0abc316 commit b50a421Copy full SHA for b50a421
lldb/tools/lldb-dap/src-ts/logging.ts
@@ -1,4 +1,3 @@
1
-import * as os from 'os';
2
import * as path from "path";
3
import * as vscode from "vscode";
4
@@ -45,7 +44,7 @@ export class LogFilePathProvider {
45
44
const logFolder = this.logFolder || this.context.logUri.fsPath;
46
switch(type) {
47
case LogType.DEBUG_SESSION:
48
- return path.join(logFolder, `lldb-dap-session-${os.userInfo().username}-${formatDate(new Date())}.log`);
+ return path.join(logFolder, `lldb-dap-session-${formatDate(new Date())}-vscode-${vscode.env.sessionId}.log`);
49
break;
50
}
51
0 commit comments