(objectId: string)
| 875 | return { type: v.type, description: v.description, className: (v as any).className, objectId: (v as any).objectId }; |
| 876 | } |
| 877 | async function listProps(objectId: string) { |
| 878 | const { result } = await nodeDebugClient!.Runtime.getProperties({ objectId, ownProperties: true, generatePreview: false }); |
| 879 | const entries = (result || []).slice(0, maxProps).map((p) => ({ name: p.name, ...summarizeValue(p.value) })); |
| 880 | return entries; |
| 881 | } |
| 882 | const scopes: any[] = []; |
| 883 | for (const s of frame.scopeChain || []) { |
| 884 | if (!s.object || !s.object.objectId) continue; |
no test coverage detected