UNPKG

vibe-rules

Version:

A utility for managing Cursor rules, Windsurf rules, and other AI prompts

13 lines 424 B
import chalk from "chalk"; // Debug logging utility export let isDebugEnabled = false; export function setDebugEnabled(enabled) { isDebugEnabled = enabled; } export const debugLog = (message, color, ...optionalParams) => { if (isDebugEnabled) { const colorFn = color ? chalk[color] : chalk.dim; console.log(colorFn(`[Debug] ${message}`), ...optionalParams); } }; //# sourceMappingURL=debug.js.map