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

Function onLine

valdi/vscode_debugger/src/targets/browser/spawn/browserProcess.ts:212–218  ·  view source on GitHub ↗
(line: string)

Source from the content-addressed store, hash-verified

210 }
211
212 function onLine(line: string) {
213 stderr += line + '\n';
214 const match = line.match(/^DevTools listening on (ws:\/\/.*)$/);
215 if (!match) return;
216 cleanup();
217 resolve(match[1]);
218 }
219
220 function cleanup() {
221 timeout.dispose();

Callers

nothing calls this directly

Calls 3

cleanupFunction · 0.85
resolveFunction · 0.50
matchMethod · 0.45

Tested by

no test coverage detected