Skip to content

Commit 7522617

Browse files
authored
Fix the Debug button disappearing. (#13492)
1 parent 1b2285c commit 7522617

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Extension/src/LanguageServer/client.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1892,10 +1892,6 @@ export class DefaultClient implements Client {
18921892
if (document.uri.scheme === "file") {
18931893
const uri: string = document.uri.toString();
18941894
openFileVersions.set(uri, document.version);
1895-
void SessionState.buildAndDebugIsSourceFile.set(util.isCppOrCFile(document.uri));
1896-
void SessionState.buildAndDebugIsFolderOpen.set(util.isFolderOpen(document.uri));
1897-
} else {
1898-
void SessionState.buildAndDebugIsSourceFile.set(false);
18991895
}
19001896
}
19011897

0 commit comments

Comments
 (0)