MCPcopy Create free account
hub / github.com/Snapchat/Valdi / attach

Method attach

valdi/vscode_debugger/src/targets/node/nodeTarget.ts:150–156  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

148 }
149
150 async attach(): Promise<Cdp.Api | undefined> {
151 this._serialize = this._serialize.then(async () => {
152 if (this._attached) return;
153 return this._doAttach();
154 });
155 return this._serialize;
156 }
157
158 async _doAttach(): Promise<Cdp.Api | undefined> {
159 this._waitingForDebugger = false;

Callers

nothing calls this directly

Calls 2

_doAttachMethod · 0.95
thenMethod · 0.65

Tested by

no test coverage detected