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

Function connect

valdi/vscode_debugger/src/adapter/asyncStackPolicy.ts:27–30  ·  view source on GitHub ↗
(cdp)

Source from the content-addressed store, hash-verified

25
26const eager = (maxDepth: number): IAsyncStackPolicy => ({
27 async connect(cdp) {
28 await cdp.Debugger.setAsyncCallStackDepth({ maxDepth });
29 return noOpDisposable;
30 },
31});
32
33const onceBp = (maxDepth: number): IAsyncStackPolicy => {

Callers

nothing calls this directly

Calls 5

pushMethod · 0.95
disposeMethod · 0.95
tryEnableFunction · 0.85
onMethod · 0.65

Tested by

no test coverage detected