in common/utils.ts [21:27]
export function debug(message: string, data?: unknown): void {
if (data !== undefined) {
console.error(`[DEBUG] ${message}`, typeof data === 'object' ? JSON.stringify(data, null, 2) : data);
} else {
console.error(`[DEBUG] ${message}`);
}
}