()
| 62 | * with --debug. Returns true if logging was already active. |
| 63 | */ |
| 64 | export function enableDebugLogging(): boolean { |
| 65 | const wasActive = isDebugMode() || process.env.USER_TYPE === 'ant' |
| 66 | runtimeDebugEnabled = true |
| 67 | isDebugMode.cache.clear?.() |
| 68 | return wasActive |
| 69 | } |
| 70 | |
| 71 | // Extract and parse debug filter from command line arguments |
| 72 | // Exported for testing purposes |
no test coverage detected