MCPcopy Create free account
hub / github.com/ScriptedAlchemy/devtools-debugger-mcp / frameUrl

Function frameUrl

tests/node-debug-advanced.test.ts:42–46  ·  view source on GitHub ↗
(frame: any, parsedScripts: any[])

Source from the content-addressed store, hash-verified

40}
41
42function frameUrl(frame: any, parsedScripts: any[]): string {
43 const sid = frame && frame.location && frame.location.scriptId;
44 const match = parsedScripts.find((ev) => ev.scriptId === sid && ev.url);
45 return (frame && frame.url) || (match && match.url) || '<unknown>';
46}
47
48async function getProps(Runtime: Client['Runtime'], objectId: string, limit = 20) {
49 if (!objectId) return [];

Callers 2

collectScopesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected