From b78df6d3109f712dd8db22cce3b1e67df60e0693 Mon Sep 17 00:00:00 2001 From: Tyler Leonhardt Date: Tue, 1 Oct 2019 15:45:29 -0700 Subject: [PATCH] don't delete the session file --- src/debugAdapter.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/debugAdapter.ts b/src/debugAdapter.ts index 5fca22b01a..1e7d0e6a41 100644 --- a/src/debugAdapter.ts +++ b/src/debugAdapter.ts @@ -35,9 +35,9 @@ function startDebugging() { // the connection details for the debug service const sessionDetails = utils.readSessionFile(debugSessionFilePath); - // Delete the session file after it has been read so that - // it isn't used mistakenly by another debug session - utils.deleteSessionFile(debugSessionFilePath); + // TODO: store session details into an in-memory store that can be shared between + // the debug adapter and client extension + // and then clean up the session details file. // Establish connection before setting up the session debugAdapterLogWriter.write("Connecting to pipe: " + sessionDetails.debugServicePipeName + "\r\n");