MCPcopy Create free account
hub / github.com/cursorless-dev/cursorless / evaluateSetting

Method evaluateSetting

src/core/Debug.ts:75–84  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73 }
74
75 private evaluateSetting() {
76 const debugEnabled = workspace
77 .getConfiguration("cursorless")
78 .get<boolean>("debug")!;
79 if (debugEnabled) {
80 this.enableDebugLog();
81 } else {
82 this.disableDebugLog();
83 }
84 }
85
86 private logBranchTypes(event: TextEditorSelectionChangeEvent) {
87 const location = new Location(

Callers 1

constructorMethod · 0.95

Calls 3

enableDebugLogMethod · 0.95
disableDebugLogMethod · 0.95
getMethod · 0.80

Tested by

no test coverage detected