MCPcopy Create free account
hub / github.com/thetarnav/solid-devtools / toggleModule

Function toggleModule

packages/debugger/src/main/index.ts:77–89  ·  view source on GitHub ↗
(data: InputChannels['ToggleModule'])

Source from the content-addressed store, hash-verified

75 // Enabled Modules
76 //
77 function toggleModule(data: InputChannels['ToggleModule']): void {
78 switch (data.module) {
79 case DebuggerModule.Structure:
80 // * Structure is always enabled
81 break
82 case DebuggerModule.Dgraph:
83 toggleModules('dgraph', data.enabled)
84 break
85 case DebuggerModule.Locator:
86 toggleModules('locator', data.enabled)
87 break
88 }
89 }
90
91 //
92 // Inspected Node

Callers 1

emitInputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…