()
| 178 | * with --debug. Returns true if logging was already active. |
| 179 | */ |
| 180 | export function enableDebugLogging(): boolean { |
| 181 | const wasActive = isDebugMode() || isInternalBuild() |
| 182 | runtimeDebugEnabled = true |
| 183 | isDebugMode.cache.clear?.() |
| 184 | return wasActive |
| 185 | } |
| 186 | |
| 187 | // Extract and parse debug filter from command line arguments |
| 188 | // Exported for testing purposes |
no test coverage detected