MCPcopy Create free account
hub / github.com/WebFreak001/code-debug / toProtocolVariable

Method toProtocolVariable

src/backend/backend.ts:125–134  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

123 }
124
125 public toProtocolVariable(): DebugProtocol.Variable {
126 const res: DebugProtocol.Variable = {
127 name: this.exp,
128 evaluateName: this.name,
129 value: (this.value === void 0) ? "<unknown>" : this.value,
130 type: this.type,
131 variablesReference: this.id
132 };
133 return res;
134 }
135}
136
137// from https://gist.github.com/justmoon/15511f92e5216fa2624b#gistcomment-1928632

Callers 1

variablesRequestMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected