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