(id?: string)
| 68 | } |
| 69 | |
| 70 | getSession(id?: string): DebugSessionEntry | null { |
| 71 | const resolvedId = id ?? this.currentSessionId; |
| 72 | if (!resolvedId) return null; |
| 73 | return this.sessions.get(resolvedId) ?? null; |
| 74 | } |
| 75 | |
| 76 | setCurrentSession(id: string): void { |
| 77 | if (!this.sessions.has(id)) { |