Skip to content

Commit 661a9ee

Browse files
don't delete the session file to fix restart capability. (#2223)
1 parent 9c4e65f commit 661a9ee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/debugAdapter.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ function startDebugging() {
3535
// the connection details for the debug service
3636
const sessionDetails = utils.readSessionFile(debugSessionFilePath);
3737

38-
// Delete the session file after it has been read so that
39-
// it isn't used mistakenly by another debug session
40-
utils.deleteSessionFile(debugSessionFilePath);
38+
// TODO: store session details into an in-memory store that can be shared between
39+
// the debug adapter and client extension
40+
// and then clean up the session details file.
4141

4242
// Establish connection before setting up the session
4343
debugAdapterLogWriter.write("Connecting to pipe: " + sessionDetails.debugServicePipeName + "\r\n");

0 commit comments

Comments
 (0)